]> sourceware.org Git - glibc.git/blob - ChangeLog
[BZ #13637]
[glibc.git] / ChangeLog
1 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
2
3 [BZ #13637]
4 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
5 of remain_len that may cause incomplete multi-byte character and
6 false match.
7 * posix/bug-regex33.c: New file.
8 * posix/Makefile (tests): Add bug-regex33.
9
10 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
11
12 * include/dirent.h: Include <dirstream.h> before
13 <dirent/dirent.h>.
14
15 2012-02-28 David S. Miller <davem@davemloft.net>
16
17 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
18 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
19 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
20 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
21
22 2012-02-27 David S. Miller <davem@davemloft.net>
23
24 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
25 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
26 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
27 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
28
29 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
30 frame pointer instead of stack pointer relative arg slot.
31 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
32 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
33 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
34
35 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
36
37 [BZ #3992]
38 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
39
40 2012-02-27 David S. Miller <davem@davemloft.net>
41
42 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
43 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
44 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
45 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
46 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
47 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
48 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
49 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
50
51 2012-02-27 Joseph Myers <joseph@codesourcery.com>
52
53 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
54 later. Allow versions 5-9.
55 * configure: Regenerated.
56 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
57 required minimum version and 4.6 as recommended version. Do not
58 mention bugs in GCC 2.7 and 2.8.
59 * INSTALL: Regenerated.
60
61 2012-02-27 David S. Miller <davem@davemloft.net>
62
63 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
64 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
65 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
66 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
67 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
68 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
69 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
70 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
71
72 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
73 manipulate bits before adding and subtracting TWO112[sx].
74 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
75
76 2012-02-27 Roland McGrath <roland@hack.frob.com>
77
78 [BZ #13775]
79 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
80 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
81 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
82 being in POSIX, because they are in 1003.1-2008.
83
84 * rt/tst-aio.c: Include <fcntl.h>.
85 * rt/tst-aio7.c: Likewise.
86 * rt/tst-aio64.c: Likewise.
87
88 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
89
90 2012-02-27 Joseph Myers <joseph@codesourcery.com>
91
92 * manual/install.texi (--with-headers): Describe headers as
93 interface headers, not private headers.
94 (Specific advice for GNU/Linux systems): Describe use of headers
95 from "make headers_install", not private headers from older
96 kernels.
97 * INSTALL: Regenerated.
98 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
99 Change to 2.6.19.
100 * sysdeps/unix/sysv/linux/configure: Regenerated.
101
102 * manual/llio.texi (fclean): Remove documentation.
103
104 * manual/Makefile (libc-texi-generated): New variable. Include
105 version.texi.
106 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
107 $(libc-texi-generated), not duplicated list of files.
108 (version.texi, stamp-version): New rules.
109 (realclean): Remove $(libc-texi-generated), not individual files
110 from that list. Do not remove dir-add.texinfo.
111 * manual/libc.texinfo: Comment out uses of edition numbers and
112 references to printed manual. Remove last-updated dates.
113 (EDITION): Comment out.
114 (ISBN): Likewise.
115 (VERSION, UPDATED): Remove.
116 (version.texi): Include.
117
118 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
119
120 * sysdeps/posix/spawni.c: Include <signal.h>.
121 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
122 * sysdeps/pthread/aio_fsync.c: Likewise.
123
124 2012-02-26 Ulrich Drepper <drepper@gmail.com>
125
126 * conform/Makefile (tests): Run only when not cross-compiling and
127 when fast-check is not defined.
128
129 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
130 * conform/data/limits.h-data: Fixes for POSIX2008.
131 * conform/run-conformtest.sh: Run all tests.
132 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
133 headers.
134 * include/bits/dlfcn.h: Likewise.
135 * include/langinfo.h: Likewise.
136 * include/monetary.h: Likewise.
137 * include/sys/poll.h: Likewise.
138
139 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
140 for __USE_GNU.
141 * posix/spawn.h: Define __need_sigset_t.
142 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
143 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
144 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
145 to get sigevent_t only.
146 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
147 only for __USE_GNU.
148 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
149 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
150 process_vm_writev only for __USE_GNU.
151 * termios/termios.h: Declare tcgetsid also for POSIX2008.
152
153 * conform/Makefile: For now ignore errors from run-conformtest.
154 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
155 POSIX to avoid namespace pollution. Don't prepend headers.
156 * conform/data/aio.h-data: Fixes for POSIX testing.
157 * conform/data/fcntl.h-data: Likewise.
158 * conform/data/glob.h-data: Likewise.
159 * conform/data/grp.h-data: Likewise.
160 * conform/data/pthread.h-data: Likewise.
161 * conform/data/pwd.h-data: Likewise.
162 * conform/data/signal.h-data: Likewise.
163 * conform/data/spawn.h-data: Likewise.
164 * conform/data/stdio.h-data: Likewise.
165 * conform/data/stdlib.h-data: Likewise.
166 * conform/data/stropts.h-data: Likewise.
167 * conform/data/sys/mman.h-data: Likewise.
168 * conform/data/sys/stat.h-data: Likewise.
169 * conform/data/sys/types.h-data: Likewise.
170 * conform/data/sys/wait.h-data: Likewise.
171 * conform/data/time.h-data: Likewise.
172 * conform/data/unistd.h-data: Likewise.
173 * conform/data/utime.h-data: Likewise.
174
175 * io/sys/stat.h: fchmod was always in POSIX.
176 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
177 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
178 * rt/aio.h: Define __need_timespec before including <time.h>.
179 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
180 struct. Add forward declaration of pthread_attr_t and use it in
181 sigevent.
182 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
183 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
184 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
185 always remove CLK_TCK definition.
186
187 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
188
189 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
190
191 2012-02-25 Ulrich Drepper <drepper@gmail.com>
192
193 * conform/run-conformtest.sh: New file.
194 * conform/Makefile: Run run-conformtest for tests.
195 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
196 support.
197
198 * conform/data/uchar.h-data: New file.
199 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
200 * conform/data/arpa/inet.h-data: Likewise.
201 * conform/data/assert.h-data: Likewise.
202 * conform/data/complex.h-data: Likewise.
203 * conform/data/cpio.h-data: Likewise.
204 * conform/data/ctype.h-data: Likewise.
205 * conform/data/dirent.h-data: Likewise.
206 * conform/data/dlfcn.h-data: Likewise.
207 * conform/data/errno.h-data: Likewise.
208 * conform/data/fcntl.h-data: Likewise.
209 * conform/data/float.h-data: Likewise.
210 * conform/data/fmtmsg.h-data: Likewise.
211 * conform/data/fnmatch.h-data: Likewise.
212 * conform/data/ftw.h-data: Likewise.
213 * conform/data/glob.h-data: Likewise.
214 * conform/data/grp.h-data: Likewise.
215 * conform/data/iconv.h-data: Likewise.
216 * conform/data/inttypes.h-data: Likewise.
217 * conform/data/langinfo.h-data: Likewise.
218 * conform/data/libgen.h-data: Likewise.
219 * conform/data/limits.h-data: Likewise.
220 * conform/data/locale.h-data: Likewise.
221 * conform/data/math.h-data: Likewise.
222 * conform/data/monetary.h-data: Likewise.
223 * conform/data/mqueue.h-data: Likewise.
224 * conform/data/ndbm.h-data: Likewise.
225 * conform/data/net/if.h-data: Likewise.
226 * conform/data/netdb.h-data: Likewise.
227 * conform/data/netinet/in.h-data: Likewise.
228 * conform/data/nl_types.h-data: Likewise.
229 * conform/data/poll.h-data: Likewise.
230 * conform/data/pthread.h-data: Likewise.
231 * conform/data/pwd.h-data: Likewise.
232 * conform/data/regex.h-data: Likewise.
233 * conform/data/sched.h-data: Likewise.
234 * conform/data/search.h-data: Likewise.
235 * conform/data/semaphore.h-data: Likewise.
236 * conform/data/setjmp.h-data: Likewise.
237 * conform/data/signal.h-data: Likewise.
238 * conform/data/spawn.h-data: Likewise.
239 * conform/data/stdarg.h-data: Likewise.
240 * conform/data/stdio.h-data: Likewise.
241 * conform/data/stdlib.h-data: Likewise.
242 * conform/data/string.h-data: Likewise.
243 * conform/data/strings.h-data: Likewise.
244 * conform/data/stropts.h-data: Likewise.
245 * conform/data/sys/ipc.h-data: Likewise.
246 * conform/data/sys/mman.h-data: Likewise.
247 * conform/data/sys/msg.h-data: Likewise.
248 * conform/data/sys/resource.h-data: Likewise.
249 * conform/data/sys/select.h-data: Likewise.
250 * conform/data/sys/sem.h-data: Likewise.
251 * conform/data/sys/shm.h-data: Likewise.
252 * conform/data/sys/socket.h-data: Likewise.
253 * conform/data/sys/stat.h-data: Likewise.
254 * conform/data/sys/statvfs.h-data: Likewise.
255 * conform/data/sys/time.h-data: Likewise.
256 * conform/data/sys/timeb.h-data: Likewise.
257 * conform/data/sys/times.h-data: Likewise.
258 * conform/data/sys/types.h-data: Likewise.
259 * conform/data/sys/uio.h-data: Likewise.
260 * conform/data/sys/un.h-data: Likewise.
261 * conform/data/sys/utsname.h-data: Likewise.
262 * conform/data/sys/wait.h-data: Likewise.
263 * conform/data/syslog.h-data: Likewise.
264 * conform/data/tar.h-data: Likewise.
265 * conform/data/termios.h-data: Likewise.
266 * conform/data/utime.h-data: Likewise.
267 * conform/data/utmpx.h-data: Likewise.
268 * conform/data/varargs.h-data: Likewise.
269 * conform/data/wchar.h-data: Likewise.
270 * conform/data/wctype.h-data: Likewise.
271 * conform/data/wordexp.h-data: Likewise.
272
273 * include/stropts.h: New file.
274 * include/uchar.h: New file.
275 * include/aio.h: Changes to allow conformtest.pl to use the headers.
276 * include/assert.h: Likewise.
277 * include/ctype.h: Likewise.
278 * include/dirent.h: Likewise.
279 * include/dlfcn.h: Likewise.
280 * include/fcntl.h: Likewise.
281 * include/fnmatch.h: Likewise.
282 * include/glob.h: Likewise.
283 * include/grp.h: Likewise.
284 * include/libio.h: Likewise.
285 * include/locale.h: Likewise.
286 * include/math.h: Likewise.
287 * include/net/if.h: Likewise.
288 * include/netdb.h: Likewise.
289 * include/netinet/in.h: Likewise.
290 * include/pthread.h: Likewise.
291 * include/pwd.h: Likewise.
292 * include/regex.h: Likewise.
293 * include/sched.h: Likewise.
294 * include/search.h: Likewise.
295 * include/setjmp.h: Likewise.
296 * include/signal.h: Likewise.
297 * include/stdio.h: Likewise.
298 * include/stdlib.h: Likewise.
299 * include/string.h: Likewise.
300 * include/sys/cdefs.h: Likewise.
301 * include/sys/mman.h: Likewise.
302 * include/sys/msg.h: Likewise.
303 * include/sys/resource.h: Likewise.
304 * include/sys/select.h: Likewise.
305 * include/sys/socket.h: Likewise.
306 * include/sys/stat.h: Likewise.
307 * include/sys/statvfs.h: Likewise.
308 * include/sys/time.h: Likewise.
309 * include/sys/times.h: Likewise.
310 * include/sys/uio.h: Likewise.
311 * include/sys/utsname.h: Likewise.
312 * include/sys/wait.h: Likewise.
313 * include/termios.h: Likewise.
314 * include/time.h: Likewise.
315 * include/ulimit.h: Likewise.
316 * include/unistd.h: Likewise.
317 * include/utime.h: Likewise.
318 * include/wchar.h: Likewise.
319 * include/wctype.h: Likewise.
320 * include/wordexp.h: Likewise.
321
322 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
323
324 * time/time.h: TIME_UTC must be a macro.
325 Make timespec_get available for ISO C11 only as well.
326
327 2012-02-24 Ulrich Drepper <drepper@gmail.com>
328
329 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
330 Reported by Peng Haitao <penght@cn.fujitsu.com>.
331
332 2012-02-24 Joseph Myers <joseph@codesourcery.com>
333
334 * configure.in: Use -o not -a in test for unsupported multi-arch.
335
336 2012-02-24 Joseph Myers <joseph@codesourcery.com>
337
338 * manual/texinfo.tex: Update to version 2012-01-19.16.
339
340 2012-02-24 Joseph Myers <joseph@codesourcery.com>
341
342 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
343
344 2012-02-24 Roland McGrath <roland@hack.frob.com>
345
346 [BZ #13738]
347 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
348 * manual/fdl-1.3.texi: New file.
349 * manual/fdl-1.1.texi: File removed.
350
351 [BZ #13738]
352 * manual/libc.texinfo (FDL_VERSION): New @set.
353 Use it for mention of FDL in cover text.
354 (Documentation License): Use it in @include file name.
355
356 2012-02-22 Joseph Myers <joseph@codesourcery.com>
357 Roland McGrath <roland@hack.frob.com>
358
359 [BZ #5461]
360 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
361 not LONG_LONG_MAX and LONG_LONG_MIN.
362 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
363 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
364 name.
365 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
366
367 2012-02-22 Joseph Myers <joseph@codesourcery.com>
368
369 [BZ #2547]
370 [BZ #11365]
371 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
372 manipulate bits before adding and subtracting TWO23[sx].
373 * math/libm-test.inc (nearbyint_test): Add more tests.
374
375 2012-02-22 Joseph Myers <joseph@codesourcery.com>
376
377 [BZ #2548]
378 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
379 bits before adding and subtracting TWO23[sx].
380 * math/libm-test.inc (rint_test): Add more tests.
381 (rint_test_tonearest): Likewise.
382 (rint_test_towardzero): Likewise.
383 (rint_test_downward): Likewise.
384 (rint_test_upward: Likewise.
385
386 2012-02-22 Joseph Myers <joseph@codesourcery.com>
387
388 [BZ #10110]
389 * include/stdc-predef.h: New file. Extracted from features.h.
390 * include/features.h: Include stdc-predef.h.
391 * Makefile (headers): Add stdc-predef.h.
392 * CONFORMANCE (Compiler limitations): Update.
393
394 2012-02-22 Joseph Myers <joseph@codesourcery.com>
395
396 * manual/libc.texinfo (VERSION, UPDATED): Revert.
397
398 2012-02-21 David S. Miller <davem@davemloft.net>
399
400 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
401 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
402
403 2012-02-20 David S. Miller <davem@davemloft.net>
404
405 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
406 using a normal save/restore sequence, rather than allocating a
407 dummy stack frame just to store a frame pointer and restore.
408 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
409
410 2012-02-21 Joseph Myers <joseph@codesourcery.com>
411
412 * manual/install.texi: Fix stray word in line-wrapped comment.
413
414 2012-02-20 David S. Miller <davem@davemloft.net>
415
416 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
417 both binutils and gcc support GOTDATA.
418
419 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
420 "rd %pc" in the PIC register setup sequences.
421
422 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
423 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
424 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
425 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
426 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
427 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
428 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
429 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
430 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
431 (SYSCALL_ERROR_HANDLER): Likewise.
432 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
433 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
434 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
435 (SYSCALL_ERROR_HANDLER): Likewise.
436
437 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
438 (HAVE_GCC_GOTDATA): New.
439 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
440 relocation support in both binutils and gcc.
441 * sysdeps/sparc/elf/configure: Regenerate.
442
443 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
444 * sysdeps/sparc/sparc32/elf/configure: Delete.
445 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
446 * sysdeps/sparc/sparc64/elf/configure: Delete.
447 * sysdeps/sparc/elf/configure.in: New file.
448 * sysdeps/sparc/elf/configure: Generate.
449
450 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
451 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
452 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
453 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
454 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
455
456 2012-02-21 Joseph Myers <joseph@codesourcery.com>
457
458 * manual/install.texi: Do not mention specific glibc version
459 numbers.
460 * manual/libc.texinfo (VERSION, UPDATED): Update.
461 (@copying): Use @copyright{} and range of years.
462
463 2012-02-21 Joseph Myers <joseph@codesourcery.com>
464
465 [BZ #13695]
466 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
467 [crti.S not in sysdirs] (generated): Do not append.
468 [crti.S not in sysdirs] (omit-deps): Likewise.
469 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
470 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
471 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
472 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
473 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
474 Likewise.
475 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
476 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
477 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
478 * csu/defs.awk: Remove file.
479 * sysdeps/generic/initfini.c: Likewise.
480 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
481 variable.
482 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
483 Likewise.
484
485 2012-02-20 Joseph Myers <joseph@codesourcery.com>
486
487 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
488 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
489 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
490 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
491 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
492 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
493 <bits/epoll.h>.
494 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
495 (__EPOLL_PACKED): Define to empty if not defined by
496 <bits/epoll.h>.
497 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
498 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
499 bits/epoll.h.
500
501 2012-02-20 Joseph Myers <joseph@codesourcery.com>
502
503 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
504 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
505 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
506 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
507 <bits/timerfd.h>.
508 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
509 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
510 bits/timerfd.h.
511
512 2012-02-20 Joseph Myers <joseph@codesourcery.com>
513
514 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
515 in C locale.
516 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
517 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
518 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
519 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
520
521 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
522
523 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
524 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
525
526 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
527
528 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
529 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
530 defined.
531 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
532 Likewise.
533 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
534 entry for 2.16.
535
536 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
537
538 * math/w_acos.c: Use non-signaling floating-point comparisons.
539 * math/w_acosf.c: Likewise.
540 * math/w_acosh.c: Likewise.
541 * math/w_acoshf.c: Likewise.
542 * math/w_acoshl.c: Likewise.
543 * math/w_acosl.c: Likewise.
544 * math/w_asin.c: Likewise.
545 * math/w_asinf.c: Likewise.
546 * math/w_asinl.c: Likewise.
547 * math/w_atanh.c: Likewise.
548 * math/w_atanhf.c: Likewise.
549 * math/w_atanhl.c: Likewise.
550 * math/w_exp2.c: Likewise.
551 * math/w_exp2f.c: Likewise.
552 * math/w_exp2l.c: Likewise.
553 * math/w_j0.c: Likewise.
554 * math/w_j0f.c: Likewise.
555 * math/w_j0l.c: Likewise.
556 * math/w_j1.c: Likewise.
557 * math/w_j1f.c: Likewise.
558 * math/w_j1l.c: Likewise.
559 * math/w_jn.c: Likewise.
560 * math/w_jnf.c: Likewise.
561 * math/w_log.c: Likewise.
562 * math/w_log10.c: Likewise.
563 * math/w_log10f.c: Likewise.
564 * math/w_log10l.c: Likewise.
565 * math/w_log2.c: Likewise.
566 * math/w_log2f.c: Likewise.
567 * math/w_log2l.c: Likewise.
568 * math/w_logf.c: Likewise.
569 * math/w_logl.c: Likewise.
570 * math/w_sqrt.c: Likewise.
571 * math/w_sqrtf.c: Likewise.
572 * math/w_sqrtl.c: Likewise.
573 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
574 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
575 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
576 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
577 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
578
579 2012-02-19 Joseph Myers <joseph@codesourcery.com>
580
581 [BZ #9739]
582 * manual/string.texi (strnlen): Use correct parameter name in
583 equivalent expression.
584
585 2012-02-19 Joseph Myers <joseph@codesourcery.com>
586
587 [BZ #11174]
588 * manual/users.texi (seteuid): Consistently use neweuid for
589 argument name.
590
591 2012-02-19 Joseph Myers <joseph@codesourcery.com>
592
593 [BZ #13704]
594 * manual/nss.texi (Services in the NSS configuration): Correct
595 list of services in example configuration file.
596
597 2012-02-19 Nick Bowler <nbowler@draconx.ca>
598
599 [BZ #11322]
600 * manual/arith.texi: Remove statements about negative zero
601 behaving identically to zero.
602
603 2012-02-18 Joseph Myers <joseph@codesourcery.com>
604
605 [BZ #5993]
606 * manual/install.texi: Do not document upgrading from libc5.
607
608 2012-02-18 Joseph Myers <joseph@codesourcery.com>
609
610 [BZ #4596]
611 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
612
613 2012-02-18 David S. Miller <davem@davemloft.net>
614
615 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
616 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
617 %o7 across the call.
618 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
619 instead.
620 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
621 SETUP_PIC_REG_LEAF.
622 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
623 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
624 * sysdeps/sparc/crtn.S: Likewise.
625
626 2012-02-17 Ulrich Drepper <drepper@gmail.com>
627
628 * aout/Makefile: Remove.
629
630 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
631
632 [BZ #13058]
633 * manual/examples/argp-ex1.c (main): Format definition in GNU
634 style.
635 * manual/examples/argp-ex2.c (main): Likewise.
636 * manual/examples/argp-ex3.c (main): Likewise.
637 * manual/examples/argp-ex4.c (main): Likewise.
638 * manual/examples/longopt.c (main): Use new-style prototype
639 definition.
640 * manual/examples/strncat.c (main): Specify return type and use
641 (void) for arguments.
642 * manual/examples/subopt.c (main): Use char **argv argument.
643
644 2012-02-17 Joseph Myers <joseph@codesourcery.com>
645
646 [BZ #5077]
647 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
648 rounding modes.
649
650 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
651
652 [BZ #6907]
653 * manual/string.texi (strchr): Change when strchrnul is
654 recommended.
655
656 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
657
658 [BZ #174]
659 * manual/locale.texi (setlocale): Document LOCPATH.
660
661 2012-02-17 Joseph Myers <joseph@codesourcery.com>
662
663 [BZ #10210]
664 * manual/process.texi (execle): Move @dots{} before last argument.
665
666 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
667
668 [BZ #12047]
669 * manual/charset.texi (Generic Charset Conversion): Fix typo
670 (LC_TYPE -> LC_CTYPE).
671
672 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
673
674 [BZ #5805]
675 * manual/arith.texi (scalbn): Use @var{} on parameter names.
676 (scalbnf): Likewise.
677 (scalbnl): Likewise.
678 (scalbln): Likewise.
679 (scalblnf): Likewise.
680 (scalblnl): Likewise.
681 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
682 (vwarnx): Likewise.
683 (verr): Likewise.
684 (verrx): Likewise.
685 * manual/filesys.texi (telldir): Use braces around return type.
686 * manual/llio.texi (mmap): Add space after comma.
687 (mmap64): Likewise.
688 * manual/math.texi (jn): Use @var{} on parameter names.
689 (jnf): Likewise.
690 (jnl): Likewise.
691 (yn): Likewise.
692 (ynf): Likewise.
693 (ynl): Likewise.
694 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
695 line.
696 * manual/resource.texi (ulimit): Use @dots{} instead of literal
697 "...".
698 (sched_get_priority_min): Remove semicolon on @deftypefun line.
699 (sched_get_priority_max): Likewise.
700 * manual/signal.texi (sigvec): Add space after comma.
701 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
702 names.
703 (if_indextoname): Likewise.
704 (if_freenameindex): Likewise.
705 (sendto): Use ',' instead of '.' in prototype.
706 * manual/startup.texi (syscall): Use @dots{} instead of literal
707 "...".
708 * manual/stdio.texi (__fpending): Separate initial words of
709 paragraph from @deftypefun line.
710 * manual/syslog.texi (syslog): Use @dots{} instead of literal
711 "...".
712 (vsyslog): Use @var{} on parameter names.
713 * manual/terminal.texi (stty): Use @var{} on parameter names.
714 * manual/users.texi (getutmp): Use @var{} on parameter names.
715 (getutmpx): Likewise.
716
717 2012-02-17 Joseph Myers <joseph@codesourcery.com>
718
719 [BZ #6884]
720 * manual/stdio.texi (fopen): Fix typos in description of
721 ",ccs=STRING".
722
723 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
724
725 [BZ #4026]
726 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
727 get clock_id definition.
728
729 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
730
731 [BZ #4822]
732 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
733 (madvise): Cast every argument to void on its own.
734
735 2012-02-17 Joseph Myers <joseph@codesourcery.com>
736
737 [BZ #9902]
738 * manual/startup.texi (Exit Status): Fix typo.
739
740 2012-02-17 Joseph Myers <joseph@codesourcery.com>
741
742 [BZ #10140]
743 * manual/examples/argp-ex1.c: Include <stdlib.h>.
744 * manual/examples/argp-ex2.c: Likewise.
745 * manual/examples/argp-ex3.c: Likewise.
746
747 2012-02-16 Richard Henderson <rth@redhat.com>
748
749 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
750 * sysdeps/s390/s390-32/initfini.c: Remove.
751 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
752 * sysdeps/s390/s390-64/initfini.c: Remove.
753
754 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
755
756 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
757 compiler output for sysdeps/generic/initfini.c.
758 * sysdeps/sh/elf/initfini.c: Remove file.
759
760 2012-02-16 David S. Miller <davem@davemloft.net>
761
762 [BZ #11494]
763 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
764
765 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
766 * sysdeps/sparc/crti.S: New file.
767 * sysdeps/sparc/crtn.S: New file.
768 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
769 * sysdeps/sparc/sparc64/Makefile: Likewise.
770
771 2012-02-15 Mike Frysinger <vapier@gentoo.org>
772
773 [BZ #3335]
774 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
775
776 2012-02-15 Roland McGrath <roland@hack.frob.com>
777
778 [BZ #4822]
779 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
780
781 * mach/devstream.c (cookie_io_functions_t): Macro removed.
782 (write, read, close): Likewise.
783 Patch by Aurelien Jarno <aurelien@aurel32.net>.
784
785 2012-02-15 Joseph Myers <joseph@codesourcery.com>
786
787 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
788 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
789 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
790 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
791 <bits/signalfd.h>.
792 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
793 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
794 bits/signalfd.h.
795
796 2012-02-14 Marek Polacek <polacek@redhat.com>
797
798 * sysdeps/x86_64/crti.S: New file.
799 * sysdeps/x86_64/crtn.S: New file.
800 * sysdeps/x86_64/elf/initfini.c: Remove file.
801
802 2012-02-13 Joseph Myers <joseph@codesourcery.com>
803
804 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
805 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
806 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
807 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
808 <bits/inotify.h>.
809 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
810 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
811 bits/inotify.h.
812
813 2012-02-13 Joseph Myers <joseph@codesourcery.com>
814
815 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
816 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
817 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
818 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
819 <bits/eventfd.h>.
820 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
821 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
822 bits/eventfd.h.
823
824 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
825
826 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
827 __feraiseexcept instead of feraiseexcept.
828
829 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
830 nanosleep invocations.
831 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
832 strings, and add error checking for a nanosleep invocations.
833
834 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
835
836 Replace FSF snail mail address with URLs, as per GNU coding standards.
837 Most of the snail mail addresses were wrong anyway, and omitting
838 them makes the source code easier to maintain. Almost all of the
839 changes are to license notices and to locale LC_IDENTIFICATION
840 addresses, except for this one:
841 * manual/libc.texinfo: In "Published by", give the FSF's URL,
842 not its snail mail address.
843
844 2012-02-09 Richard Henderson <rth@twiddle.net>
845
846 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
847 of kernel-features.h.
848
849 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
850
851 2012-02-08 Marek Polacek <polacek@redhat.com>
852
853 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
854 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
855 * sysdeps/gnu/_G_config.h: Likewise.
856 * sysdeps/generic/_G_config.h: Likewise.
857
858 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
859
860 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
861 tests.
862 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
863
864 * sysdeps/powerpc/powerpc32/crti.S: New file.
865 * sysdeps/powerpc/powerpc32/crtn.S: New file.
866 * sysdeps/powerpc/powerpc64/crti.S: New file.
867 * sysdeps/powerpc/powerpc64/crtn.S: New file.
868
869 * Makeconfig (have-initfini): Don't set.
870 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
871 * configure.in (nopic_initfini): Don't substitute.
872 * config.h.in (HAVE_INITFINI): Don't #undef.
873 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
874 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
875
876 2012-02-08 Joseph Myers <joseph@codesourcery.com>
877
878 Support crti.S and crtn.S provided directly by architectures.
879 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
880 [crti.S in sysdirs] (omit-deps): Likewise.
881 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
882 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
883 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
884 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
885 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
886 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
887 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
888 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
889 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
890 compiler output for sysdeps/generic/initfini.c.
891 * sysdeps/i386/elf/Makefile: Remove file.
892 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
893
894 2012-02-07 Marek Polacek <polacek@redhat.com>
895
896 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
897 * sysdeps/gnu/_G_config.h: Likewise.
898 * sysdeps/mach/hurd/_G_config.h: Likewise.
899
900 2012-02-07 Marek Polacek <polacek@redhat.com>
901
902 * math/Makefile (tests): Add tst-CMPLX2.
903 * math/tst-CMPLX2.c: New file.
904
905 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
906
907 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
908
909 * math/libm-test.inc (jn_test): Add missing L suffix.
910
911 2012-02-06 Marek Polacek <polacek@redhat.com>
912
913 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
914 * sysdeps/i386/fpu/e_powf.S: Likewise.
915 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
916 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
917 * sysdeps/i386/fpu/e_acosh.S: Likewise.
918 * sysdeps/i386/fpu/e_pow.S: Likewise.
919 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
920 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
921 * sysdeps/i386/fpu/s_expm1.S: Likewise.
922 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
923 * sysdeps/i386/fpu/e_log2.S: Likewise.
924 * sysdeps/i386/fpu/e_log2l.S: Likewise.
925 * sysdeps/i386/fpu/e_scalb.S: Likewise.
926 * sysdeps/i386/fpu/e_powl.S: Likewise.
927 * sysdeps/i386/fpu/s_log1p.S: Likewise.
928 * sysdeps/i386/fpu/e_log10f.S: Likewise.
929 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
930 * sysdeps/i386/fpu/e_logl.S: Likewise.
931 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
932 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
933 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
934 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
935 * sysdeps/i386/fpu/e_log2f.S: Likewise.
936 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
937 * sysdeps/i386/fpu/e_log.S: Likewise.
938 * sysdeps/i386/fpu/s_cexp.S: Likewise.
939 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
940 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
941 * sysdeps/i386/fpu/e_logf.S: Likewise.
942 * sysdeps/i386/fpu/e_log10l.S: Likewise.
943 * sysdeps/i386/fpu/e_atanh.S: Likewise.
944 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
945 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
946 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
947 * sysdeps/i386/fpu/e_log10.S: Likewise.
948 * sysdeps/i386/fpu/s_frexp.S: Likewise.
949 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
950 * sysdeps/i386/fpu/s_asinh.S: Likewise.
951 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
952 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
953 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
954 * sysdeps/i386/asm-syntax.h: Likewise.
955 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
956 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
957 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
958 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
959 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
960 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
961 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
962 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
963 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
964 * sysdeps/powerpc/sysdep.h: Likewise.
965 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
966 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
967
968 2012-02-06 Joseph Myers <joseph@codesourcery.com>
969
970 [BZ #411]
971 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
972
973 2012-02-06 Joseph Myers <joseph@codesourcery.com>
974
975 * sysdeps/i386/sysdep.h: Include <features.h>.
976 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
977 version.
978
979 2012-02-05 Joseph Myers <joseph@codesourcery.com>
980
981 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
982 Define.
983 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
984 LOAD_PIC_REG_STR.
985
986 2012-02-03 Joseph Myers <joseph@codesourcery.com>
987
988 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
989 (SETUP_PIC_REG): Use GET_PC_THUNK.
990 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
991 macro.
992
993 2012-02-03 Joseph Myers <joseph@codesourcery.com>
994
995 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
996 for non-PIC compilation.
997 (SETUP_PIC_REG): Add .p2align directive.
998 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
999 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
1000 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
1001 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
1002 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
1003 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
1004 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
1005 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
1006 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
1007 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
1008 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
1009 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
1010 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
1011 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
1012 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
1013 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
1014 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
1015 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
1016 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
1017 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
1018 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
1019 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
1020 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
1021 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
1022 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
1023 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
1024 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
1025 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
1026 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
1027 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
1028 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
1029 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
1030 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
1031 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
1032 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
1033 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
1034 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
1035 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
1036 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
1037 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
1038 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
1039
1040 2012-02-03 Joseph Myers <joseph@codesourcery.com>
1041
1042 * math/tst-CMPLX.c: Include <stdio.h>.
1043
1044 2012-01-31 Joseph Myers <joseph@codesourcery.com>
1045
1046 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
1047 float.
1048 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
1049 * sysdeps/sparc/bits/mathdef.h: Likewise.
1050
1051 2012-01-31 Marek Polacek <polacek@redhat.com>
1052
1053 * libio/libio.h: Don't define _PARAMS.
1054 * locale/programs/config.h: Don't define PARAMS.
1055 * stdlib/strtol_l.c: Likewise.
1056 (__strtol_l): Remove PARAMS from the prototype.
1057
1058 2012-01-31 Ulrich Drepper <drepper@gmail.com>
1059
1060 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
1061 names. Just use the correct names. Remove unnecessary wrapper
1062 functions.
1063 * malloc/arena.c: Likewise.
1064 * malloc/hooks.c: Likewise.
1065
1066 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
1067 ARENA_TEST says not to. Simplify test for creation of a new arena.
1068 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
1069
1070 2012-01-30 Ulrich Drepper <drepper@gmail.com>
1071
1072 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
1073 into tail calls.
1074 (update_get_addr): New function.
1075 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
1076 GET_ADDR_MODULE parameter.
1077
1078 2012-01-30 Joseph Myers <joseph@codesourcery.com>
1079
1080 * crypt/cert.c: Remove __STDC__ conditionals.
1081 * crypt/crypt-entry.c: Likewise.
1082 * crypt/crypt_util.c: Likewise.
1083 * libio/filedoalloc.c: Likewise.
1084 * libio/fileops.c: Likewise.
1085 * libio/genops.c: Likewise.
1086 * libio/iofclose.c: Likewise.
1087 * libio/iofdopen.c: Likewise.
1088 * libio/iofopen.c: Likewise.
1089 * libio/iofopen64.c: Likewise.
1090 * libio/iogetdelim.c: Likewise.
1091 * libio/iopopen.c: Likewise.
1092 * libio/obprintf.c: Likewise.
1093 * libio/oldfileops.c: Likewise.
1094 * libio/oldiofclose.c: Likewise.
1095 * libio/oldiofdopen.c: Likewise.
1096 * libio/oldiofopen.c: Likewise.
1097 * libio/oldiopopen.c: Likewise.
1098 * libio/wfiledoalloc.c: Likewise.
1099 * libio/wgenops.c: Likewise.
1100 * locale/programs/xmalloc.c: Likewise.
1101 * misc/syslog.c: Likewise.
1102 * stdio-common/xbug.c: Likewise.
1103 * string/memchr.c: Likewise.
1104 * string/memcmp.c: Likewise.
1105 * string/memrchr.c: Likewise.
1106 * string/rawmemchr.c: Likewise.
1107 * sysdeps/posix/getcwd.c: Likewise.
1108 * time/strftime_l.c: Likewise.
1109
1110 2012-01-30 Joseph Myers <joseph@codesourcery.com>
1111
1112 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
1113 * config.make.in (config-cflags-sse2avx): Define.
1114 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
1115 Fix typo.
1116
1117 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
1118
1119 * scripts/config.guess: Update from upstream config git repository.
1120 * scripts/config.sub: Likewise.
1121
1122 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
1123
1124 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
1125 (EM_NUM): Update.
1126 (R_TILEPRO_*, R_TILEGX_*): New macros.
1127
1128 * scripts/firstversions.awk: Fix bug in version range handling.
1129
1130 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
1131
1132 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
1133
1134 * include/sys/epoll.h: New file.
1135 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
1136 libc_hidden_def.
1137
1138 2012-01-28 Ulrich Drepper <drepper@gmail.com>
1139
1140 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
1141 Avoid unnecessary __WORDSIZE == 64 test.
1142 (fmaxf): Use VEX format if possible.
1143 (fmax): Likewise.
1144 (fminf): Likewise.
1145 (fmin): Likewise.
1146
1147 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
1148 * math/math_private.h: Remove libc_fegetround* and
1149 libc_fesetround*.
1150 * sysdeps/i386/configure.in: Check for -msse2avx.
1151 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
1152 also if SSE2AVX is defined.
1153 Remove libc_fegetround* and libc_fesetround*.
1154 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
1155 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
1156 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
1157 of HAS_YMM_USABLE.
1158 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
1159 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
1160 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
1161 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
1162 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
1163
1164 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
1165
1166 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1167
1168 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
1169 size is not set.
1170 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
1171
1172 2012-01-27 Ulrich Drepper <drepper@gmail.com>
1173
1174 [BZ #13618]
1175 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
1176 relocation.
1177 * Makeconfig (libm): Define.
1178 * elf/Makefile: Add rules to build and run tst-relsort1.
1179 * elf/tst-relsort1.c: New file.
1180 * elf/tst-relsort1mod1.c: New file.
1181 * elf/tst-relsort1mod2.c: New file.
1182
1183 2012-01-27 Joseph Myers <joseph@codesourcery.com>
1184
1185 * math/s_ldexp.c: Remove __STDC__ conditionals.
1186 * math/s_ldexpf.c: Likewise.
1187 * math/s_ldexpl.c: Likewise.
1188 * math/s_nextafter.c: Likewise.
1189 * math/s_nexttowardf.c: Likewise.
1190 * math/s_significand.c: Likewise.
1191 * math/s_significandf.c: Likewise.
1192 * math/s_significandl.c: Likewise.
1193 * math/w_jnl.c: Likewise.
1194 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
1195 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
1196 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
1197 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
1198 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
1199 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
1200 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
1201 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
1202 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
1203 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
1204 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
1205 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
1206 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
1207 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
1208 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
1209 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
1210 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
1211 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
1212 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
1213 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
1214 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
1215 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
1216 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
1217 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
1218 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
1219 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
1220 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
1221 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
1222 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
1223 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
1224 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
1225 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
1226 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
1227 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
1228 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
1229 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
1230 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
1231 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
1232 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
1233 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
1234 * sysdeps/ieee754/k_standard.c: Likewise.
1235 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
1236 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
1237 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
1238 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
1239 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
1240 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
1241 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
1242 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
1243 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
1244 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
1245 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
1246 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
1247 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
1248 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
1249 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
1250 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
1251 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
1252 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
1253 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
1254 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
1255 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
1256 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
1257 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
1258 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
1259 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
1260 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
1261 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
1262 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
1263 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
1264 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
1265 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
1266 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
1267 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
1268 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
1269 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
1270 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
1271 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
1272 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
1273 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
1274 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
1275 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
1276 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
1277 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
1278 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
1279 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
1280 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
1281 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
1282 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
1283 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
1284 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
1285 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
1286 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
1287 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
1288 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
1289 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
1290 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
1291 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
1292 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
1293 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
1294 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
1295 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
1296 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
1297 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
1298 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
1299 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
1300 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
1301 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
1302 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
1303 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
1304 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
1305 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
1306 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
1307 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
1308 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
1309 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
1310 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
1311 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
1312 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
1313 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
1314 * sysdeps/ieee754/s_matherr.c: Likewise.
1315 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
1316 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
1317 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
1318 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1319
1320 2012-01-26 Joseph Myers <joseph@codesourcery.com>
1321
1322 * crypt/md5.h: Remove __STDC__ conditionals.
1323 * libio/libioP.h: Likewise.
1324 * locale/programs/config.h: Likewise.
1325 * sysdeps/generic/sysdep.h: Likewise.
1326 * sysdeps/i386/asm-syntax.h: Likewise.
1327 * sysdeps/s390/asm-syntax.h: Likewise.
1328 * sysdeps/unix/sysdep.h: Likewise.
1329 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
1330 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
1331
1332 2012-01-26 Joseph Myers <joseph@codesourcery.com>
1333
1334 * libio/libio.h: Remove __STDC__ conditionals.
1335 * malloc/obstack.h: Likewise.
1336 * math/complex.h: Likewise.
1337 * math/math.h: Likewise.
1338 * sysdeps/generic/_G_config.h: Likewise.
1339 * sysdeps/gnu/_G_config.h: Likewise.
1340 * sysdeps/mach/hurd/_G_config.h: Likewise.
1341 * sysdeps/powerpc/bits/mathdef.h: Likewise.
1342 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
1343 * sysdeps/sparc/bits/mathdef.h: Likewise.
1344
1345 2012-01-26 Ulrich Drepper <drepper@gmail.com>
1346
1347 [BZ #13583]
1348 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
1349 Clean up HAS_* macros.
1350 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
1351 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
1352 possible.
1353 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
1354 HAS_AVX.
1355 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
1356 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
1357 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
1358 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
1359 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
1360
1361 2012-01-25 Joseph Myers <joseph@codesourcery.com>
1362
1363 * elf/tst-unique3.cc (gets): Remove declaration.
1364 * elf/tst-unique3lib.cc (gets): Likewise.
1365 * elf/tst-unique3lib2.cc (gets): Likewise.
1366 * elf/tst-unique4.cc (gets): Likewise.
1367
1368 2012-01-24 Ulrich Drepper <drepper@gmail.com>
1369
1370 * include/stdio.h: Add C++ protection. Add gets declarations and
1371 definitions.
1372 * debug/tst-chk1.c: Don't declare gets here.
1373 * stdio-common/tst-gets.c: Likewise.
1374
1375 2012-01-24 Joseph Myers <joseph@codesourcery.com>
1376
1377 * posix/glob: Remove directory.
1378
1379 2012-01-24 Joseph Myers <joseph@codesourcery.com>
1380
1381 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
1382
1383 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
1384
1385 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
1386 of the non-standard EPFNOSUPPORT.
1387
1388 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
1389
1390 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
1391 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
1392 ANYWHERE set to 1 only on KERN_NO_SPACE error.
1393
1394 2012-01-21 Ulrich Drepper <drepper@gmail.com>
1395
1396 * wcsmbs/uchar.h: Test __STDC_VERSION__.
1397
1398 2012-01-20 Ulrich Drepper <drepper@gmail.com>
1399
1400 * nscd/aicache.c (addhstaiX): Do not cache negative results of
1401 transient errors.
1402 * nscd/grpcache.c (cache_addgr): Likewise.
1403 * nscd/hstcache.c (cache_addhst): Likewise.
1404 * nscd/initgrcache.c (addinitgroupsX): Likewise.
1405 * nscd/pwdcache.c (cache_addpw): Likewise.
1406 * nscd/servicescache.c (cache_addserv): Likewise.
1407
1408 2012-01-16 Ulrich Drepper <drepper@gmail.com>
1409
1410 * malloc/malloc.c: Various cleanups.
1411 * malloc/hooks.c: Likewise.
1412
1413 * stdlib/Makefile (tests): Add bug-fmtmsg1.
1414 * stdlib/bug-fmtmsg1.c: New file.
1415
1416 * stdlib/fmtmsg.c (init): Add missing unlock.
1417 Patch by Peng Haitao <penght@cn.fujitsu.com>.
1418
1419 2012-01-12 Marek Polacek <polacek@redhat.com>
1420
1421 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
1422 and _GNU_SOURCE.
1423
1424 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
1425
1426 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
1427 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
1428 macro to ensure uniqueness of label name.
1429 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
1430 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
1431
1432 2012-01-11 Ulrich Drepper <drepper@gmail.com>
1433
1434 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
1435
1436 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
1437 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
1438 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
1439 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
1440
1441 2012-01-10 Ulrich Drepper <drepper@gmail.com>
1442
1443 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
1444
1445 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
1446 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
1447 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
1448
1449 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
1450
1451 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
1452 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
1453 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
1454 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
1455
1456 * math/bits/math-finite.h: Add ldexp support.
1457
1458 2012-01-10 Marek Polacek <polacek@redhat.com>
1459
1460 * locale/programs/localedef.h (show_archive_content): Add noreturn
1461 attribute.
1462
1463 2012-01-09 Ulrich Drepper <drepper@gmail.com>
1464
1465 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
1466
1467 2012-01-08 Ulrich Drepper <drepper@gmail.com>
1468
1469 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
1470
1471 * io/Makefile (headers): Add bits/poll2.h.
1472
1473 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
1474
1475 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
1476 typo #include statement.
1477
1478 2012-01-08 Ulrich Drepper <drepper@gmail.com>
1479
1480 * include/sys/cdefs.h: Define __attribute_alloc_size.
1481 * catgets/gencat.c: Add alloc_size attribute and apply consistently
1482 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
1483 * elf/pldd.c: Likewise.
1484 * iconv/iconv_charmap.c: Likewise.
1485 * iconv/iconvconfig.c: Likewise.
1486 * iconv/strtab.c: Likewise.
1487 * locale/programs/locale.c: Likewise.
1488 * locale/programs/localedef.h: Likewise.
1489 * locale/programs/simple-hash.c: Likewise.
1490 * nscd/nscd.h: Likewise.
1491 * nss/makedb.c: Likewise.
1492 * sysdeps/generic/ldconfig.h: Likewise.
1493 * locale/programs/localedef.c: Remove xmalloc prototype.
1494 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
1495
1496 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
1497
1498 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
1499 appropriate.
1500
1501 2012-01-08 Ulrich Drepper <drepper@gmail.com>
1502
1503 * math/Makefile (tests): Add tst-CMPLX.
1504 * math/tst-CMPLX.c: New file.
1505
1506 * math/complex.h (CMPLXL): Fix typo.
1507
1508 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
1509 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
1510 GLIBC_2.16.
1511 * debug/tst-chk1.c: Add poll and ppoll tests.
1512 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
1513 * include/sys/poll.h: Add hidden proto for ppoll.
1514 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
1515 * sysdeps/mach/hurd/ppoll.c: Likewise.
1516 * io/ppoll.c: Likewise.
1517 * debug/poll_chk.c: New file.
1518 * debug/ppoll_chk.c: New file.
1519 * include/bits/poll2.h: New file.
1520 * io/bits/poll2.h: New file.
1521
1522 [BZ #1350]
1523 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
1524
1525 * configure.in: static is always set to yes. Remove.
1526 * config.make.in: Don't set build-static.
1527 * Makeconfig: Remove use of build-static.
1528 * dlfcn/Makefile: Likewise.
1529 * elf/Makefile: Likewise.
1530 * math/Makefile: Likewise.
1531 * misc/Makefile: Likewise.
1532 * nptl/Makefile: Likewise.
1533 * sysdeps/mach/hurd/Makefile: Likewise.
1534
1535 * configure.in: PWD_P is not used anymore.
1536 * config.make.in: Remove PWD_P entry.
1537
1538 * configure.in: Remove last remnants of RANLIB.
1539 No need to check for signed size_t anymore.
1540 Don't set libc_commonpagesize and libc_relro_required here for Alpha
1541 and IA-64.
1542 Remove __builtin_expect test because we require at least gcc 3.4.
1543 * aclocal.m4: Likewise.
1544
1545 * wcsmbs/mbrtoc16.c: Implement using towc function.
1546 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
1547 * wcsmbs/wcsmbsload.c: Likewise.
1548 * iconv/gconv_simple.c: Likewise.
1549 * iconv/gconv_int.h: Likewise.
1550 * iconv/gconv_builtin.h: Likewise.
1551 * iconv/iconv_prog.c: Remove CHAR16 handling.
1552
1553 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
1554
1555 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
1556
1557 * configure.in: Remove --with-elf and --enable-bounded options.
1558 Dont set base_machine for ia64. More non-ELF conditions removed.
1559 Remove testing and setting of leading underscore information.
1560 * config.make.in (build-bounded): Set to no.
1561 * config.h.in: Remove NO_UNDERSCORES entry.
1562 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
1563 them.
1564 * csu/start.c: Remove !NO_UNDERSCORE code.
1565 * locale/localeinfo.h: Likewise.
1566 * sysdeps/generic/machine-gmon.h: Likewise.
1567 * sysdeps/generic/sysdep.h: Likewise.
1568 * sysdeps/i386/sysdep.h: Likewise.
1569 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
1570 * sysdeps/mach/sysdep.h: Likewise.
1571 * sysdeps/s390/s390-32/sysdep.h: Likewise.
1572 * sysdeps/s390/s390-64/sysdep.h: Likewise.
1573 * sysdeps/sh/sysdep.h: Likewise.
1574 * sysdeps/sparc/sparc32/alloca.S: Likewise.
1575 * sysdeps/unix/i386/sysdep.S: Likewise.
1576 * sysdeps/unix/sparc/start.c: Likewise.
1577 * sysdeps/unix/sparc/sysdep.S: Likewise.
1578 * sysdeps/unix/sparc/sysdep.h: Likewise.
1579 * sysdeps/unix/start.c: Likewise.
1580 * sysdeps/unix/x86_64/sysdep.S: Likewise.
1581 * sysdeps/x86_64/sysdep.h: Likewise.
1582
1583 2012-01-07 Ulrich Drepper <drepper@gmail.com>
1584
1585 [BZ #13553]
1586 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
1587 for non-gcc.
1588 * argp/argp-fmtstream.h: Use const instead __const.
1589 * argp/argp.h: Likewise.
1590 * assert/assert.h: Likewise.
1591 * bits/fenv.h: Likewise.
1592 * bits/sched.h: Likewise.
1593 * bits/sigset.h: Likewise.
1594 * bits/sigthread.h: Likewise.
1595 * catgets/nl_types.h: Likewise.
1596 * conform/data/pthread.h-data: Likewise.
1597 * crypt/crypt-private.h: Likewise.
1598 * crypt/crypt.h: Likewise.
1599 * crypt/crypt_util.c: Likewise.
1600 * ctype/ctype.h: Likewise.
1601 * debug/execinfo.h: Likewise.
1602 * debug/mbsnrtowcs_chk.c: Likewise.
1603 * debug/mbsrtowcs_chk.c: Likewise.
1604 * debug/wcsnrtombs_chk.c: Likewise.
1605 * debug/wcsrtombs_chk.c: Likewise.
1606 * debug/wcstombs_chk.c: Likewise.
1607 * dirent/dirent.h: Likewise.
1608 * dlfcn/dlfcn.h: Likewise.
1609 * elf/neededtest4.c: Likewise.
1610 * grp/grp.h: Likewise.
1611 * gshadow/gshadow.h: Likewise.
1612 * iconv/gconv.h: Likewise.
1613 * iconv/gconv_int.h: Likewise.
1614 * iconv/gconv_simple.c: Likewise.
1615 * iconv/iconv.h: Likewise.
1616 * iconv/loop.c: Likewise.
1617 * iconv/skeleton.c: Likewise.
1618 * include/aio.h: Likewise.
1619 * include/aliases.h: Likewise.
1620 * include/argz.h: Likewise.
1621 * include/arpa/inet.h: Likewise.
1622 * include/assert.h: Likewise.
1623 * include/dirent.h: Likewise.
1624 * include/dlfcn.h: Likewise.
1625 * include/execinfo.h: Likewise.
1626 * include/fcntl.h: Likewise.
1627 * include/fenv.h: Likewise.
1628 * include/glob.h: Likewise.
1629 * include/grp.h: Likewise.
1630 * include/libintl.h: Likewise.
1631 * include/mntent.h: Likewise.
1632 * include/netdb.h: Likewise.
1633 * include/pwd.h: Likewise.
1634 * include/rpc/netdb.h: Likewise.
1635 * include/sched.h: Likewise.
1636 * include/search.h: Likewise.
1637 * include/shadow.h: Likewise.
1638 * include/signal.h: Likewise.
1639 * include/stdio.h: Likewise.
1640 * include/stdlib.h: Likewise.
1641 * include/string.h: Likewise.
1642 * include/sys/socket.h: Likewise.
1643 * include/sys/stat.h: Likewise.
1644 * include/sys/statfs.h: Likewise.
1645 * include/sys/statvfs.h: Likewise.
1646 * include/sys/syslog.h: Likewise.
1647 * include/sys/time.h: Likewise.
1648 * include/sys/uio.h: Likewise.
1649 * include/time.h: Likewise.
1650 * include/unistd.h: Likewise.
1651 * include/utmp.h: Likewise.
1652 * include/wchar.h: Likewise.
1653 * include/wctype.h: Likewise.
1654 * inet/aliases.h: Likewise.
1655 * inet/arpa/inet.h: Likewise.
1656 * inet/netinet/ether.h: Likewise.
1657 * inet/netinet/in.h: Likewise.
1658 * intl/libintl.h: Likewise.
1659 * io/bits/fcntl2.h: Likewise.
1660 * io/fcntl.h: Likewise.
1661 * io/ftw.h: Likewise.
1662 * io/sys/poll.h: Likewise.
1663 * io/sys/stat.h: Likewise.
1664 * io/sys/statfs.h: Likewise.
1665 * io/sys/statvfs.h: Likewise.
1666 * io/utime.h: Likewise.
1667 * libio/bits/stdio.h: Likewise.
1668 * libio/bits/stdio2.h: Likewise.
1669 * libio/libio.h: Likewise.
1670 * libio/libioP.h: Likewise.
1671 * libio/stdio.h: Likewise.
1672 * locale/lc-ctype.c: Likewise.
1673 * locale/locale.h: Likewise.
1674 * login/utmp.h: Likewise.
1675 * malloc/arena.c: Likewise.
1676 * malloc/malloc.c: Likewise.
1677 * malloc/malloc.h: Likewise.
1678 * malloc/mcheck.c: Likewise.
1679 * malloc/mtrace.c: Likewise.
1680 * math/bits/mathcalls.h: Likewise.
1681 * math/fenv.h: Likewise.
1682 * math/math_private.h: Likewise.
1683 * misc/bits/error.h: Likewise.
1684 * misc/bits/syslog.h: Likewise.
1685 * misc/err.h: Likewise.
1686 * misc/error.h: Likewise.
1687 * misc/fstab.h: Likewise.
1688 * misc/mntent.h: Likewise.
1689 * misc/regexp.h: Likewise.
1690 * misc/search.h: Likewise.
1691 * misc/sgtty.h: Likewise.
1692 * misc/sys/mman.h: Likewise.
1693 * misc/sys/syslog.h: Likewise.
1694 * misc/sys/uio.h: Likewise.
1695 * misc/sys/xattr.h: Likewise.
1696 * misc/ttyent.h: Likewise.
1697 * nis/rpcsvc/ypclnt.h: Likewise.
1698 * nss/nss.h: Likewise.
1699 * posix/bits/unistd.h: Likewise.
1700 * posix/fnmatch.h: Likewise.
1701 * posix/glob.h: Likewise.
1702 * posix/sched.h: Likewise.
1703 * posix/spawn.h: Likewise.
1704 * posix/sys/wait.h: Likewise.
1705 * posix/unistd.h: Likewise.
1706 * posix/wordexp.h: Likewise.
1707 * pwd/pwd.h: Likewise.
1708 * resolv/netdb.h: Likewise.
1709 * resource/sys/resource.h: Likewise.
1710 * rt/aio.h: Likewise.
1711 * rt/bits/mqueue2.h: Likewise.
1712 * rt/mqueue.h: Likewise.
1713 * shadow/shadow.h: Likewise.
1714 * signal/signal.h: Likewise.
1715 * socket/send.c: Likewise.
1716 * socket/sendto.c: Likewise.
1717 * socket/sys/socket.h: Likewise.
1718 * stdio-common/printf.h: Likewise.
1719 * stdlib/bits/stdlib.h: Likewise.
1720 * stdlib/fmtmsg.h: Likewise.
1721 * stdlib/monetary.h: Likewise.
1722 * stdlib/stdlib.h: Likewise.
1723 * stdlib/ucontext.h: Likewise.
1724 * streams/stropts.h: Likewise.
1725 * string/argz.h: Likewise.
1726 * string/bits/string2.h: Likewise.
1727 * string/string.h: Likewise.
1728 * string/strings.h: Likewise.
1729 * sunrpc/rpc/auth.h: Likewise.
1730 * sunrpc/rpc/auth_des.h: Likewise.
1731 * sunrpc/rpc/clnt.h: Likewise.
1732 * sunrpc/rpc/netdb.h: Likewise.
1733 * sunrpc/rpc/pmap_clnt.h: Likewise.
1734 * sunrpc/rpc/xdr.h: Likewise.
1735 * sysdeps/generic/inttypes.h: Likewise.
1736 * sysdeps/generic/net/if.h: Likewise.
1737 * sysdeps/generic/sys/swap.h: Likewise.
1738 * sysdeps/gnu/net/if.h: Likewise.
1739 * sysdeps/gnu/utmpx.h: Likewise.
1740 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
1741 * sysdeps/i386/i486/bits/string.h: Likewise.
1742 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
1743 * sysdeps/s390/bits/string.h: Likewise.
1744 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
1745 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
1746 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
1747 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
1748 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
1749 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
1750 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
1751 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
1752 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
1753 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
1754 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
1755 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
1756 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
1757 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
1758 * sysdeps/unix/sysv/linux/readv.c: Likewise.
1759 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
1760 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
1761 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
1762 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
1763 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
1764 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
1765 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
1766 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
1767 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
1768 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
1769 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
1770 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
1771 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
1772 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
1773 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
1774 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
1775 * sysvipc/sys/ipc.h: Likewise.
1776 * sysvipc/sys/msg.h: Likewise.
1777 * sysvipc/sys/sem.h: Likewise.
1778 * sysvipc/sys/shm.h: Likewise.
1779 * termios/termios.h: Likewise.
1780 * time/sys/time.h: Likewise.
1781 * time/time.h: Likewise.
1782 * wcsmbs/bits/wchar2.h: Likewise.
1783 * wcsmbs/uchar.h: Likewise.
1784 * wcsmbs/wchar.h: Likewise.
1785 * wctype/wctype.h: Likewise.
1786
1787 [BZ #13551]
1788 * Makeconfig: Remove all but ELF support including AIX support.
1789 * Makerules: Likewise.
1790 * config.h.in: Likewise.
1791 * config.make.in: Likewise.
1792 * configure: Likewise.
1793 * configure.in: Likewise.
1794 * csu/Makefile: Likewise.
1795 * csu/version.c: Likewise.
1796 * debug/Makefile: Likewise.
1797 * dlfcn/Makefile: Likewise.
1798 * elf/Makefile: Likewise.
1799 * extra-lib.mk: Likewise.
1800 * iconv/Makefile: Likewise.
1801 * include/libc-symbols.h: Likewise.
1802 * include/shlib-compat.h: Likewise.
1803 * resolv/Makefile: Likewise.
1804 * resolv/res_libc.c: Likewise.
1805 * rt/Makefile: Likewise.
1806 * sysdeps/i386/asm-syntax.h: Likewise.
1807 * sysdeps/i386/sysdep.h: Likewise.
1808 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
1809 * sysdeps/mach/sysdep.h: Likewise.
1810 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
1811 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
1812 * sysdeps/s390/asm-syntax.h: Likewise.
1813 * sysdeps/s390/s390-32/sysdep.h: Likewise.
1814 * sysdeps/s390/s390-64/sysdep.h: Likewise.
1815 * sysdeps/sh/sysdep.h: Likewise.
1816 * sysdeps/unix/sparc/sysdep.h: Likewise.
1817 * sysdeps/wordsize-32/divdi3.c: Likewise.
1818 * sysdeps/x86_64/sysdep.h: Likewise.
1819
1820 * argp/Versions: Remove _argp_unlock_xxx.
1821
1822 [BZ #13559]
1823 * abilist/ld.abilist: Update. Adjust for removal of tls option.
1824 * abilist/libBrokenLocale.abilist: Likewise.
1825 * abilist/libanl.abilist: Likewise.
1826 * abilist/libc.abilist: Likewise.
1827 * abilist/libcrypt.abilist: Likewise.
1828 * abilist/libdl.abilist: Likewise.
1829 * abilist/libm.abilist: Likewise.
1830 * abilist/libnsl.abilist: Likewise.
1831 * abilist/libpthread.abilist: Likewise.
1832 * abilist/libresolv.abilist: Likewise.
1833 * abilist/librt.abilist: Likewise.
1834 * abilist/libthread_db.abilist: Likewise.
1835 * abilist/libutil.abilist: Likewise.
1836 * abilist/libnss_db.abilist: New file.
1837
1838 * scripts/abilist.awk: Add support for indirect functions.
1839
1840 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
1841
1842 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
1843
1844 * shlib-versions: Remove entries for ports architectures.
1845
1846 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
1847 files in ports.
1848 * elf/stackguard-macros.h: Remove support for IA-64.
1849 * elf/tst-auditmod1.c: Likewise.
1850 * sysdeps/generic/ldsodefs.h: Likewise.
1851
1852 * sysdeps/unix/sysv/linux/configure.in: Ports should define
1853 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
1854 configure files.
1855
1856 [BZ #13552]
1857 * configure.in: Remove --enable-omitfp support.
1858 * FAQ.in: Adjust.
1859 * config.make.in: Likewise.
1860 * Makeconfig: Likewise.
1861 * manual/install.texi: Likewise.
1862
1863 In case anyone cares, the IA-64 architecture could move to ports.
1864 * sysdeps/ia64/*: Removed.
1865 * sysdeps/unix/sysv/linux/ia64/*: Removed.
1866 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
1867
1868 [BZ #13555]
1869 * configure.in: Remove entries for unsupported architectures.
1870
1871 [BZ #13533]
1872 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
1873 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
1874 routines.
1875 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
1876 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
1877 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
1878 fall back to using wcrtomb.
1879 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
1880 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
1881 renaming.
1882 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
1883 * wcsmbs/tst-c16c32-1.c: New file.
1884
1885 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
1886 local variable.
1887
1888 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
1889
1890 * elf/tst-unique3.cc: Add explicit declaration of gets.
1891 * elf/tst-unique3lib.cc: Likewise.
1892 * elf/tst-unique3lib2.cc: Likewise.
1893 * elf/tst-unique4.cc: Likewise.
1894
1895 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
1896
1897 2012-01-06 Joseph Myers <joseph@codesourcery.com>
1898
1899 [BZ #13566]
1900 * assert/assert.h (static_assert): Don't define for C++.
1901 * libio/stdio.h (gets): Do declare for C++ <= C++11.
1902 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
1903
1904 2012-01-03 Ulrich Drepper <drepper@gmail.com>
1905
1906 * iconv/loop.c (single loop): Fix assertion in storing of
1907 remaining bytes.
1908
1909 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
1910
1911 2012-01-01 Ulrich Drepper <drepper@gmail.com>
1912
1913 * posix/getconf.c: Update copyright year.
1914 * nss/getent.c: Likewise.
1915 * nss/makedb.c: Likewise.
1916 * iconv/iconvconfig.c: Likewise.
1917 * iconv/iconv_prog.c: Likewise.
1918 * elf/ldconfig.c: Likewise.
1919 * elf/pldd.c: Likewise.
1920 * elf/sotruss.ksh: Likewise.
1921 * catgets/gencat.c: Likewise.
1922 * csu/version.c: Likewise.
1923 * elf/ldd.bash.in: Likewise.
1924 * elf/sprof.c (print_version): Likewise.
1925 * locale/programs/locale.c: Likewise.
1926 * locale/programs/localedef.c: Likewise.
1927 * login/programs/pt_chown.c: Likewise.
1928 * nscd/nscd.c (print_version): Likewise.
1929 * debug/xtrace.sh: Likewise.
1930 * malloc/memusage.sh: Likewise.
1931 * malloc/mtrace.pl: Likewise.
1932 * debug/catchsegv.sh: Likewise.
1933
1934 2011-12-30 Jakub Jelinek <jakub@redhat.com>
1935
1936 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
1937 pure attribute.
1938
1939 2011-12-24 Ulrich Drepper <drepper@gmail.com>
1940
1941 [BZ #13533]
1942 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
1943 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
1944 transformations.
1945 * iconv/gconv_int.h: Likewise.
1946 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
1947 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
1948 from libc for GLIBC_2.16.
1949 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
1950 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
1951 * wcsmbs/uchar.h: Really define mbstate_t.
1952 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
1953 * wcsmbs/c16rtomb.c: New file.
1954 * wcsmbs/mbrtoc16.c: New file.
1955 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
1956 for C/POSIX locale.
1957 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
1958 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
1959
1960 * wcsmbs/wchar.h: Add missing __restrict.
1961
1962 2011-12-23 Ulrich Drepper <drepper@gmail.com>
1963
1964 [BZ #13532]
1965 * time/Makefile (routines): Add timespec_get.
1966 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
1967 * time/time.h: Define TIME_UTC and declare timespec_get. Define
1968 timespec for ISO C11.
1969 * time/timespec_get.c: New file.
1970 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
1971 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
1972
1973 [BZ #13531]
1974 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
1975 * stdlib/stdlib.h: Declare aligned_alloc.
1976 * Versions.def: Add GLIBC_2.16 for libc.
1977 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
1978
1979 [BZ 13527]
1980 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
1981 ISO C11.
1982
1983 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
1984 code.
1985
1986 [BZ #13528]
1987 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
1988
1989 [BZ #13529]
1990 * assert/assert.h (static_assert): Define.
1991
1992 * version.h: Update for 2.16 development version.
1993
1994 [BZ #13526]
1995 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
1996 _ISOC11_SOURCE.
1997
1998 * version.h (RELEASE): Bump for 2.15 release.
1999 * include/features.h (__GLIBC_MINOR__): Bump to 15.
2000
2001 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
2002 Patch by Marek Polacek <mpolacek@redhat.com>.
2003
2004 * bits/byteswap.h: Protect long long constants with __extension__.
2005 * sysdeps/i386/bits/byteswap.h: Likewise.
2006 * sysdeps/ia64/bits/byteswap.h: Likewise.
2007 * sysdeps/s390/bits/byteswap.h: Likewise.
2008 * sysdeps/x86_64/bits/byteswap.h: Likewise.
2009
2010 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
2011
2012 [BZ #13540]
2013 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
2014 destination buffer.
2015 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
2016
2017 2011-12-23 Marek Polacek <polacek@redhat.com>
2018
2019 * elf/dl-addr.c (determine_info): Add inline keyword.
2020 * elf/tst-auditmod4b.c (check_avx): Likewise.
2021 * elf/tst-auditmod6b.c (check_avx): Likewise.
2022 * elf/tst-auditmod6c.c (check_avx): Likewise.
2023 * elf/tst-auditmod7b.c (check_avx): Likewise.
2024
2025 2011-12-23 Ulrich Drepper <drepper@gmail.com>
2026
2027 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
2028 !__SSE_MATH__.
2029
2030 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
2031
2032 [BZ #13540]
2033 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
2034 processing for last bytes.
2035
2036 2011-08-06 Bruno Haible <bruno@clisp.org>
2037
2038 [BZ #13061]
2039 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
2040 U+0385, not to U+1FEE.
2041
2042 [BZ #13062]
2043 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
2044 entry for U+00A5 U+0301.
2045
2046 2011-12-22 Ulrich Drepper <drepper@gmail.com>
2047
2048 [BZ #13166]
2049 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
2050 buffer for the output is too small.
2051
2052 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
2053 optimization.
2054
2055 [BZ #13185]
2056 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
2057 SSE flags if possible.
2058
2059 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
2060
2061 [BZ #13540]
2062 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
2063 processing for last bytes.
2064
2065 2011-12-22 Joseph Myers <joseph@codesourcery.com>
2066
2067 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
2068 (syscall-list-default-options, syscall-list-default-condition)
2069 (syscall-list-includes): Define.
2070 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
2071 list of ABIs and options and #if conditions for each ABI. Do not
2072 handle common syscalls between ABIs specially.
2073 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
2074 Remove.
2075 (syscall-list-variants, syscall-list-32bit-options)
2076 (syscall-list-32bit-condition, syscall-list-64bit-options)
2077 (syscall-list-64bit-condition): Define.
2078 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
2079 (syscall-list-variants, syscall-list-32bit-options)
2080 (syscall-list-32bit-condition, syscall-list-64bit-options)
2081 (syscall-list-64bit-condition): Define.
2082 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
2083 Remove.
2084 (syscall-list-variants, syscall-list-32bit-options)
2085 (syscall-list-32bit-condition, syscall-list-64bit-options)
2086 (syscall-list-64bit-condition): Define.
2087 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
2088 Remove.
2089 (syscall-list-variants, syscall-list-32bit-options)
2090 (syscall-list-32bit-condition, syscall-list-64bit-options)
2091 (syscall-list-64bit-condition): Define.
2092
2093 2011-12-22 Ulrich Drepper <drepper@gmail.com>
2094
2095 * locale/iso-639.def: Add brx entry.
2096
2097 [BZ #13328]
2098 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
2099 Proposed by Mariusz_Cukr <marcukr@op.pl>.
2100
2101 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
2102 __feraiseexcept_renamed.
2103
2104 2011-12-21 Ulrich Drepper <drepper@gmail.com>
2105
2106 [BZ #13538]
2107 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
2108 EPOLLET with unsigned values.
2109 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
2110 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
2111
2112 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
2113 to large cancellation.
2114 * math/s_cacoshf.c: Likewise.
2115 * math/s_cacoshl.c: Likewise.
2116
2117 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
2118
2119 [BZ #13305]
2120 [BZ #12786]
2121 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
2122 * math/s_cacoshf.c: Likewise.
2123 * math/s_cacoshl.c: Likewise.
2124
2125 2011-12-21 Ulrich Drepper <drepper@gmail.com>
2126
2127 [BZ #13439]
2128 * iconv/gconv.h: Define __GCONV_SWAP.
2129 * iconvdata/unicode.c: The swap bit must be stored in __flags.
2130 * iconvdata/utf-16.c: Likewise.
2131 * iconvdata/utf-32.c: Likewise.
2132
2133 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
2134
2135 [BZ #13524]
2136 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
2137 numerator after shifting it by one limb.
2138
2139 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
2140
2141 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
2142 under [__USE_EXTERN_INLINES].
2143
2144 2011-12-17 Ulrich Drepper <drepper@gmail.com>
2145
2146 [BZ #13446]
2147 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
2148
2149 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2150
2151 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
2152 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
2153 optimized code.
2154 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
2155 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
2156 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
2157 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
2158 for strncasecmp/strncasecmp_l compilation.
2159 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
2160 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
2161
2162 2011-12-08 Marek Polacek <mpolacek@redhat.com>
2163
2164 [BZ #13484]
2165 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
2166 of __asm__.
2167
2168 2011-12-17 Ulrich Drepper <drepper@gmail.com>
2169
2170 [BZ #13506]
2171 * time/tzfile.c (__tzfile_read): Check values from file header.
2172
2173 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
2174
2175 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
2176 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
2177 * powerpc/powerpc32/dl-start.S: Likewise.
2178 * powerpc/powerpc32/elf/start.S: Likewise.
2179 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
2180 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
2181 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
2182 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
2183 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
2184 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
2185 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
2186 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
2187 * powerpc/powerpc32/fpu/s_round.S: Likewise.
2188 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
2189 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
2190 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
2191 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
2192 * powerpc/powerpc32/memset.S: Likewise.
2193 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
2194 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
2195 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
2196 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
2197 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
2198 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
2199 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
2200 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
2201 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
2202 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
2203 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
2204 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
2205 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
2206
2207 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2208
2209 * math/libm-test.inc: Added more nearbyint tests.
2210 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
2211 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
2212 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
2213 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
2214
2215 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
2216
2217 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
2218 FD_CLOEXEC.
2219
2220 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
2221
2222 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
2223 Add wcscpy-ssse3 wcscpy-c.
2224 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
2225 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
2226 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
2227 * sysdeps/x86_64/wcschr.S: New file.
2228 * sysdeps/x86_64/wcsrchr.S: New file.
2229 * string/test-strcmp.c: Remove checking of wcscmp function for
2230 wrong alignments.
2231 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
2232 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
2233 wcsrchr-sse2 wcsrchr-c.
2234 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
2235 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
2236 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
2237 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
2238 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
2239 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
2240 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
2241 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
2242 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
2243 * wcsmbc/wcschr.c (WCSCHR): New macro.
2244
2245 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
2246
2247 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
2248 * wcsmbs/test-wcsrchr.c: New file.
2249 * string/test-strrchr.c: Add wcsrchr support.
2250 (WIDE): New macro.
2251 * wcsmbs/test-wcscpy.c: New file.
2252 * string/test-strcpy.c: Add wcscpy support.
2253 (WIDE): New macro.
2254
2255 2011-12-10 Ulrich Drepper <drepper@gmail.com>
2256
2257 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
2258 the inner loop.
2259
2260 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
2261
2262 [BZ #13472]
2263 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
2264
2265 2011-12-04 Ulrich Drepper <drepper@gmail.com>
2266
2267 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
2268 Minor optimizations.
2269
2270 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
2271 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
2272 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
2273
2274 2011-12-03 Ulrich Drepper <drepper@gmail.com>
2275
2276 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
2277 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
2278 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
2279 for gcc to avoid warnings.
2280 * inet/Makefile (tests): Add tst-checks.
2281 * inet/tst-checks.c: New file.
2282
2283 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
2284 warning.
2285
2286 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
2287 __wmemcmp_sse2.
2288
2289 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
2290 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
2291
2292 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
2293
2294 2011-12-02 Ulrich Drepper <drepper@gmail.com>
2295
2296 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
2297 problem.
2298
2299 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
2300
2301 2011-11-29 Joseph Myers <joseph@codesourcery.com>
2302
2303 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
2304 conditional on GCC version.
2305 (__arch_compare_and_exchange_val_8_acq)
2306 (__arch_compare_and_exchange_val_16_acq)
2307 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
2308 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
2309 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
2310
2311 2011-12-02 Joseph Myers <joseph@codesourcery.com>
2312
2313 * sysdeps/sh/backtrace.c: New file.
2314
2315 2011-12-02 Andreas Schwab <schwab@redhat.com>
2316
2317 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
2318 parenthesis.
2319
2320 2011-12-01 Andreas Schwab <schwab@redhat.com>
2321
2322 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
2323 falling back to utime.
2324
2325 2011-11-30 Andreas Schwab <schwab@redhat.com>
2326
2327 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
2328 expectations for float.
2329
2330 2011-11-29 Andreas Schwab <schwab@redhat.com>
2331
2332 * locale/weight.h (findidx): Add parameter len.
2333 * locale/weightwc.h (findidx): Likewise.
2334 * posix/fnmatch_loop.c (FCT): Adjust caller.
2335 * posix/regcomp.c (build_equiv_class): Likewise.
2336 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
2337 * posix/regexec.c (check_node_accept_bytes): Likewise.
2338 * string/strcoll_l.c (STRCOLL): Likewise.
2339 * string/strxfrm_l.c (STRXFRM): Likewise.
2340
2341 2011-11-17 Ulrich Drepper <drepper@gmail.com>
2342
2343 * Makefile.in: Remove CVSOPT handling.
2344 * configure.in: Remove use of AC_REVISION.
2345 * iconvdata/Makefile (distribute): No need to filter out CVS.
2346 * scripts/list-sources.sh: Remove CVS, subversion and monotone
2347 handling.
2348
2349 2011-11-16 Andreas Schwab <schwab@redhat.com>
2350
2351 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
2352 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
2353 [USE_AS_STRNCASECMP_L]: Likewise.
2354 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
2355 NO_TLS_DIRECT_SEG_REFS.
2356 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
2357 Fix argument offsets for non-PIC.
2358 [USE_AS_STRNCASECMP_L]: Likewise.
2359 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
2360 NO_TLS_DIRECT_SEG_REFS.
2361
2362 2011-11-15 Ulrich Drepper <drepper@gmail.com>
2363
2364 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
2365 O_CLOEXEC.
2366 * locale/loadlocale.c (_nl_load_locale): Likewise.
2367
2368 2011-11-15 Andreas Schwab <schwab@redhat.com>
2369
2370 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
2371 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
2372 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
2373 (SYSCALL_GETTIME): Set errno on error.
2374
2375 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
2376 count references to noai6ai_cached.
2377
2378 2011-11-15 Ulrich Drepper <drepper@gmail.com>
2379
2380 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
2381
2382 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
2383 FD_CLOEXEC for /proc/self/maps.
2384
2385 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
2386 FD_CLOEXEC for /proc/meminfo.
2387
2388 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
2389 gai.conf.
2390
2391 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
2392 FD_CLOEXEC for given file.
2393
2394 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
2395
2396 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
2397 FD_CLOEXEC for /etc/hosts.
2398 (_gethtent): Likewise.
2399
2400 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
2401
2402 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
2403 cancellation and set FD_CLOEXEC for /etc/netgroup.
2404
2405 * nss/nss_files/files-key.c (search): Don't allow cancellation when
2406 reading /etc/publickey.
2407
2408 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
2409 allow cancellation when reading /etc/group.
2410
2411 * nss/nss_files/files-alias.c (internal_setent): Don't allow
2412 cancellation.
2413 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
2414
2415 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
2416 when using data file.
2417
2418 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
2419
2420 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
2421 (write_nis_obj): Use "c" and "e" in fopen.
2422
2423 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
2424
2425 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
2426
2427 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
2428
2429 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
2430
2431 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
2432 locale.alias.
2433
2434 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
2435
2436 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
2437
2438 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
2439
2440 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
2441 file parsing and set FD_CLOEXEC.
2442
2443 2011-11-14 Ulrich Drepper <drepper@gmail.com>
2444
2445 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
2446
2447 2011-11-14 Andreas Schwab <schwab@redhat.com>
2448
2449 * malloc/arena.c (arena_get2): Don't call reused_arena when
2450 _int_new_arena failed.
2451
2452 2011-11-14 Ulrich Drepper <drepper@gmail.com>
2453
2454 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
2455 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
2456 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
2457 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
2458 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
2459 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
2460 to compile strcasecmp and strncasecmp.
2461 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
2462 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
2463
2464 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
2465
2466 2011-11-13 Ulrich Drepper <drepper@gmail.com>
2467
2468 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
2469 locale-defines.sym to gen-as-const-headers.
2470 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
2471 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
2472 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
2473 to compile strcasecmp and strncasecmp.
2474 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
2475 strcasecmp_l and strncasecmp_l.
2476 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
2477 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
2478 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
2479 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
2480 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
2481 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
2482 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
2483 * sysdeps/i386/i686/multiarch/strncase.S: New file.
2484 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
2485 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
2486 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
2487
2488 2011-11-12 Ulrich Drepper <drepper@gmail.com>
2489
2490 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
2491 result of SYSDEP_GETTIME_CPU to retval.
2492 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
2493 parameter list to macro. Remove trailing semicolon. Adjust users.
2494
2495 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
2496 variable.
2497
2498 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
2499 mantissa words.
2500 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
2501
2502 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
2503 from unused variable.
2504
2505 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
2506 DWARF definitions.
2507 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
2508 for assembling.
2509
2510 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
2511 over namespaces.
2512
2513 * sunrpc/rpc_prot.c (rejected): Fix case value.
2514
2515 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
2516 unsigned long long int to avoid warnings in shift.
2517
2518 * posix/regex_internal.c (re_string_reconstruct): Actually use result
2519 of use of trans.
2520 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
2521 variable tmp.
2522
2523 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
2524 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
2525 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
2526
2527 * nis/nis_table.c (nis_list): Use variable of correct type for
2528 result of __follow_path call.
2529
2530 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2531
2532 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
2533 of math functions ceil, trunc, floor, round, and sqrt, when
2534 avaliable on the platform.
2535 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
2536 name clash.
2537 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
2538 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
2539 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
2540
2541 2011-10-30 Marek Polacek <mpolacek@redhat.com>
2542
2543 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
2544 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
2545
2546 2011-11-11 Roland McGrath <roland@hack.frob.com>
2547
2548 * include/unistd.h: Fix __readlink return type.
2549 Reported by Chris Metcalf <cmetcalf@tilera.com>.
2550
2551 2011-11-11 Ulrich Drepper <drepper@gmail.com>
2552
2553 * stdlib/ucontext.h: Undo last change for makecontext.
2554
2555 2011-11-11 Andreas Schwab <schwab@redhat.com>
2556
2557 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
2558
2559 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
2560 * setjmp/setjmp.h: Mark functions as non-leaf.
2561 * setjmp/bits/setjmp2.h: Likewise.
2562 * stdlib/ucontext.h: Likewise.
2563
2564 2011-11-10 Andreas Schwab <schwab@redhat.com>
2565
2566 * malloc/arena.c (_int_new_arena): Don't increment narenas.
2567 (reused_arena): Don't check arena limit.
2568 (arena_get2): Atomically check arena limit.
2569
2570 2011-11-08 Ulrich Drepper <drepper@gmail.com>
2571
2572 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
2573 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
2574
2575 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
2576 instructions.
2577
2578 2011-11-07 Andreas Schwab <schwab@redhat.com>
2579
2580 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
2581 handler when locking.
2582
2583 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
2584 Fix size of allocated buffer.
2585
2586 2011-11-04 Andreas Schwab <schwab@redhat.com>
2587
2588 [BZ #10103]
2589 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
2590 declarations for long double functions.
2591 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
2592
2593 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
2594
2595 2011-11-03 Andreas Schwab <schwab@redhat.com>
2596
2597 * nscd/nscd.c (main): Don't start AVC thread until credentials are
2598 installed.
2599
2600 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
2601 is disabled.
2602
2603 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
2604
2605 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
2606
2607 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
2608
2609 * include/alloca.h (stackinfo_alloca_round): Define.
2610 (extend_alloca): Use it.
2611 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
2612 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
2613 here.
2614
2615 * scripts/check-local-headers.sh: Ignore libaudit.h.
2616
2617 * nscd/Makefile (extra-objs): Make recursively expanded.
2618
2619 2011-11-01 Ulrich Drepper <drepper@gmail.com>
2620
2621 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
2622 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
2623
2624 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
2625 * posix/tst-rfc3484-2.c: Likewise.
2626 * posix/tst-rfc3484-3.c: Likewise.
2627
2628 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
2629 process_vm_writev.
2630 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
2631 process_vm_writev.
2632 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
2633 process_vm_writev from libc using GLIBC_2.15 version.
2634
2635 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
2636
2637 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
2638
2639 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
2640 stack usage.
2641
2642 2011-10-31 Ulrich Drepper <drepper@gmail.com>
2643
2644 [BZ #13367]
2645 * nss/getent.c (initgroups_keys): Show error message in case no group
2646 names are given.
2647
2648 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
2649 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
2650 __bump_nl_timestamp.
2651 * nscd/connections (nscd_init): When host database is served open
2652 netlink socket and request notification about configuration changes.
2653 (main_loop_poll): Track netlink file descriptor and bump timestamp
2654 in case data becomes available.
2655 (main_loop_epoll): Likewise.
2656 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
2657 (database_pers_head): Add extra_data fileds.
2658 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
2659 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
2660 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
2661 Adjust caller.
2662 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
2663 in6ai data, call __free_in6ai.
2664 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
2665 Add -DHAVE_NETLINK.
2666 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
2667 interface information. Reuse previous data if netlink timestamp
2668 is not changed.
2669 (__bump_nl_timestamp): New function.
2670 (__free_in6ai): New function.
2671
2672 2011-10-30 Ulrich Drepper <drepper@gmail.com>
2673
2674 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
2675 close_not_cancel_no_status here.
2676 (__check_pf): Reorganize code a bit to not call close twice if OOM.
2677
2678 2011-10-29 Ulrich Drepper <drepper@gmail.com>
2679
2680 [BZ #13276]
2681 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
2682 return value.
2683
2684 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
2685 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
2686 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
2687
2688 2011-07-03 Andreas Jaeger <aj@suse.de>
2689
2690 [BZ #10709]
2691 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
2692 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
2693 * math/libm-test.inc (sin_test): Add test case.
2694
2695 2011-10-29 Ulrich Drepper <drepper@gmail.com>
2696
2697 [BZ #13337]
2698 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
2699 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
2700
2701 * elf/chroot_canon.c (chroot_canon): Cleanups.
2702
2703 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
2704
2705 [BZ #13335]
2706 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
2707 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
2708
2709 * string/test-strchr.c: Make usable for strchrnul testing.
2710 * string/test-strchrnul.c: New file.
2711 * string/Makefile (strop-tests): Add strchrnul.
2712
2713 * po/it.po: Update from translation team.
2714 * po/es.po: Likewise.
2715
2716 2011-10-28 Ulrich Drepper <drepper@gmail.com>
2717
2718 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
2719 the three constants needed as parameters. Drop the others.
2720 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
2721 __m128i_strloadu_tolower.
2722 Create and initialize variable zero and use it in all the places
2723 where _mm_setzero_si128 was used.
2724
2725 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
2726 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
2727 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
2728 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
2729 anymore.
2730 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
2731 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
2732 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
2733 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
2734 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
2735 __mpranred, __mptan.
2736 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
2737 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
2738 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
2739 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
2740 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
2741 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
2742 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
2743 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
2744 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
2745
2746 2011-10-28 Andreas Schwab <schwab@redhat.com>
2747
2748 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
2749 redefine if SHARED.
2750 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
2751
2752 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
2753 wide char related routines to wcsmbs subdir.
2754
2755 2011-10-27 Andreas Schwab <schwab@redhat.com>
2756
2757 [BZ #13344]
2758 * misc/sys/cdefs.h (__THROWNL): Define.
2759 * posix/unistd.h: Use __THREADNL instead of __THREAD
2760 for memory synchronization functions.
2761
2762 2011-10-26 Roland McGrath <roland@hack.frob.com>
2763
2764 [BZ #13349]
2765 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
2766 doesn't exist.
2767 * manual/stdio.texi (Obstack Streams): Node removed.
2768
2769 2011-10-26 Andreas Schwab <schwab@redhat.com>
2770
2771 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
2772 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
2773 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
2774
2775 * math/math_private.h (math_force_eval): Allow non-addressable
2776 arguments.
2777 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
2778
2779 2011-10-25 Ulrich Drepper <drepper@gmail.com>
2780
2781 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
2782 file is not needed.
2783
2784 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
2785 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
2786 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
2787 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
2788 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
2789 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
2790 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
2791 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
2792 Add AVX variants.
2793 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
2794 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
2795 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
2796 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
2797 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
2798 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
2799 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
2800 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
2801 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
2802 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
2803 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
2804 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
2805 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
2806 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
2807 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
2808 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
2809 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
2810 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
2811 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
2812
2813 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
2814 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
2815
2816 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
2817 place. Use VEX encoding when compiling for AVX.
2818
2819 2011-10-25 Andreas Schwab <schwab@redhat.com>
2820
2821 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
2822 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
2823
2824 * string/test-strchr.c (do_test): Don't generate NUL bytes.
2825
2826 2011-10-25 Ulrich Drepper <drepper@gmail.com>
2827
2828 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
2829 useless if() expression.
2830 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
2831 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
2832 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
2833 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
2834 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
2835 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
2836 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
2837 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
2838 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
2839 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
2840 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
2841 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
2842 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
2843 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
2844 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
2845 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
2846 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
2847 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
2848 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
2849
2850 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
2851
2852 2011-10-25 Andreas Schwab <schwab@redhat.com>
2853
2854 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
2855 condition.
2856 * elf/dl-fini.c (_dl_sort_fini): Likewise.
2857
2858 2011-10-25 Ulrich Drepper <drepper@gmail.com>
2859
2860 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
2861 .text section. Avoid duplicate constants.
2862 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
2863 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
2864 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
2865 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
2866 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
2867 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
2868 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
2869 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
2870 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
2871 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
2872 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
2873 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
2874 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
2875 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
2876 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
2877 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
2878 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
2879 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
2880 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
2881 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
2882 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
2883 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
2884 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
2885 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
2886 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
2887 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
2888 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
2889 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
2890 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
2891 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
2892 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
2893 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
2894 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
2895 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
2896 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
2897 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
2898 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
2899 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
2900 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
2901 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
2902 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
2903 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
2904 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
2905 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
2906 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
2907
2908 2011-10-24 Ulrich Drepper <drepper@gmail.com>
2909
2910 * sysdeps/x86_64/dla.h: Move to ...
2911 * sysdeps/x86_64/fpu/dla.h: ...here.
2912 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
2913 situations. Use __builtin_fma only for gcc 4.6 and up.
2914
2915 * config.make.in: Add have-mfma4 entry.
2916 * configure.in: Substitute libc_cv_cc_fma4.
2917 * math/Makefile (dbl-only-routines): Add sincostab.
2918 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
2919 Use __sincostab not sincos.
2920 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
2921 name is a macro.
2922 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
2923 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
2924 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
2925 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
2926 using __copysign.
2927 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
2928 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
2929 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
2930 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
2931 and __inv.
2932 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
2933 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
2934 __copysign.
2935 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
2936 define aliases when function name is a macro.
2937 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
2938 sysdeps/ieee754/dbl-64/sincos.tbl.
2939 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
2940 fma4-enabled routines.
2941 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
2942 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
2943 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
2944 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
2945 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
2946 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
2947 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
2948 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
2949 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
2950 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
2951 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
2952 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
2953 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
2954 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
2955 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
2956 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
2957 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
2958 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
2959 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
2960 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
2961 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
2962 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
2963 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
2964 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
2965 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
2966 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
2967 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
2968 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
2969 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
2970 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
2971
2972 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
2973 rename.
2974 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
2975 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
2976 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
2977 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
2978 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
2979 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
2980 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
2981 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
2982
2983 2011-10-24 Andreas Schwab <schwab@redhat.com>
2984
2985 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
2986
2987 2011-10-23 Ulrich Drepper <drepper@gmail.com>
2988
2989 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
2990
2991 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
2992 prediction.
2993 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
2994
2995 * string/strnlen.c: Don't define STRNLEN, reverse logic.
2996 Remove unused variable magic_bits.
2997 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
2998
2999 * string/strnlen.c: Define and use STRNLEN macro.
3000 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
3001 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
3002 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
3003 * wcsmbs/wcslen.c: Define and use WCSLEN.
3004 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
3005 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
3006 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
3007 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
3008 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
3009 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
3010 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
3011
3012 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3013
3014 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
3015 strnlen-sse2-no-bsf.
3016 Rename strlen-no-bsf to strlen-sse2-no-bsf.
3017 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
3018 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
3019 Add strnlen support.
3020 (USE_AS_STRNLEN): New macro.
3021 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
3022 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
3023 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
3024 * sysdeps/x86_64/wcslen.S: New file.
3025
3026 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
3027
3028 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
3029 XMM-moves are used for copying on small sizes.
3030
3031 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3032
3033 * wcsmbs/Makefile (strop-tests): Add wcschr.
3034 * wcsmbs/test-wcschr.c: New file.
3035 * string/test-strchr.c: Update.
3036 Add wcschr support.
3037 (WIDE): New macro.
3038
3039 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3040
3041 * wcsmbs/Makefile (strop-tests): Add wcslen.
3042 * wcsmbs/test-wcslen.c: New file.
3043 * string/test-strlen.c: Update.
3044 Add wcslen support.
3045 (WIDE): New macro.
3046
3047 2011-10-23 Ulrich Drepper <drepper@gmail.com>
3048
3049 * po/it.po: Update from translation team.
3050
3051 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3052
3053 * sysdeps/x86_64/wcscmp.S: Update.
3054 Fix wrong comparison semantics.
3055 wcscmp shall use signed comparison not unsigned.
3056 Don't use substraction to avoid overflow bug.
3057 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
3058 * wcsmbc/wcscmp.c: Likewise.
3059 * string/test-strcmp.c: Likewise.
3060 Add new tests to check cases with negative values.
3061
3062 2011-10-23 Ulrich Drepper <drepper@gmail.com>
3063
3064 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
3065 * sysdeps/x86_64/dla.h: ...here. New file.
3066 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
3067 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
3068 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
3069 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
3070 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
3071 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
3072 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
3073 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
3074 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
3075
3076 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
3077
3078 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
3079 __ynl_finite aliases.
3080
3081 2011-10-22 Ulrich Drepper <drepper@gmail.com>
3082
3083 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3084
3085 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
3086 define DLA_FMA.
3087 [DLA_FMA] (EMULV): Use DLA_FMA.
3088 [DLA_FMA] (MUL12): Use EMULV.
3089 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
3090 that are not needed.
3091 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
3092 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
3093 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
3094 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
3095 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
3096 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
3097 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
3098
3099 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
3100
3101 * math/s_nan.c: Undef __nan.
3102 * math/s_nanf.c: Undef __nanf.
3103 * math/s_nanl.c: Undef __nanl.
3104 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
3105 "math_private.h".
3106
3107 2011-10-22 Ulrich Drepper <drepper@gmail.com>
3108
3109 * math/s_catan.c: Add branch predictions.
3110 * math/s_catanf.c: Likewise.
3111 * math/s_catanh.c: Likewise.
3112 * math/s_catanhf.c: Likewise.
3113 * math/s_catanhl.c: Likewise.
3114 * math/s_catanl.c: Likewise.
3115 * math/s_cexp.c: Likewise.
3116 * math/s_cexpf.c: Likewise.
3117 * math/s_cexpl.c: Likewise.
3118 * math/s_clog.c: Likewise.
3119 * math/s_clog10.c: Likewise.
3120 * math/s_clog10f.c: Likewise.
3121 * math/s_clog10l.c: Likewise.
3122 * math/s_clogf.c: Likewise.
3123 * math/s_clogl.c: Likewise.
3124 * math/s_csqrt.c: Likewise.
3125 * math/s_csqrtf.c: Likewise.
3126 * math/s_csqrtl.c: Likewise.
3127 * math/s_ctanf.c: Likewise.
3128 * math/s_ctanh.c: Likewise.
3129 * math/s_ctanhf.c: Likewise.
3130 * math/s_ctanhl.c: Likewise.
3131 * math/s_ctanl.c: Likewise.
3132
3133 * math/math_private.h: Define __nan, __nanf, __nanl.
3134 * math/s_cacosh.c: Include <math_private.h>.
3135 * math/s_cacoshl.c: Likewise.
3136 * math/s_casinh.c: Likewise.
3137 * math/s_casinhf.c: Likewise.
3138 * math/s_casinhl.c: Likewise.
3139 * math/s_ccos.c: Rely entire on ccosh.
3140 * math/s_ccosf.c: Rely entire on ccoshf.
3141 * math/s_ccosl.c: Rely entirely on ccoshl.
3142 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
3143 Remove tests for FE_INVALID.
3144 * math/s_ccoshf.c: Likewise.
3145 * math/s_ccoshl.c: Likewise.
3146 * math/s_csin.c: Likewise.
3147 * math/s_csinf.c: Likewise.
3148 * math/s_csinh.c Likewise.
3149 * math/s_csinhf.c: Likewise.
3150 * math/s_csinhl.c: Likewise.
3151 * math/s_csinl.c: Likewise.
3152 * math/s_ctan.c: Likewise.
3153 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
3154 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
3155 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
3156
3157 2011-10-21 Ulrich Drepper <drepper@gmail.com>
3158
3159 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
3160 compilation problems.
3161
3162 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
3163 __builtin_expect.
3164
3165 2011-10-20 Ulrich Drepper <drepper@gmail.com>
3166
3167 * sysdeps/i386/configure.in: Test for -mfma4 option.
3168 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
3169 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
3170 COMMON_CPUID_INDEX_80000001.
3171 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
3172 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
3173 use it if FMA3 is not supported.
3174 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
3175
3176 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
3177 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
3178
3179 2011-10-20 Andreas Schwab <schwab@redhat.com>
3180
3181 [BZ #12892]
3182 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
3183 it would create a cycle with a link time dependency.
3184
3185 2011-10-19 Ulrich Drepper <drepper@gmail.com>
3186
3187 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
3188 instruction.
3189 * string/Makefile (strop-tests): Add rawmemchr.
3190 * string/test-rawmemchr.c: New file.
3191
3192 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
3193 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
3194 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
3195 when compiling str{,n}casecmp and when AVX is available. Hook up
3196 new optimized code in initializers.
3197
3198 2011-10-19 Andreas Schwab <schwab@redhat.com>
3199
3200 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
3201 __feraiseexcept instead of feraiseexcept.
3202
3203 2011-10-18 Ulrich Drepper <drepper@gmail.com>
3204
3205 * math/math_private.h: Define defaults for libc_fetestexcept and
3206 libc_feupdateenv.
3207 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
3208 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
3209 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
3210 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
3211 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
3212 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
3213 libc_fetestexcept and libc_feupdateenv.
3214
3215 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
3216 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
3217 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
3218 * sysdeps/x86_64/fpu/math_private.h: Define special version of
3219 libc_feholdexcept_setround.
3220
3221 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
3222 Add s_nearbyint-c and s_nearbyintf-c.
3223 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
3224 nearbyintf inlines.
3225 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
3226 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
3227 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
3228 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
3229
3230 * math/math_private.h: Define defaults for libc_fegetround,
3231 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
3232 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
3233 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
3234 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
3235 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
3236 standard functions.
3237 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
3238 Remove comments and hacks for old compiler versions.
3239 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
3240 libc_fegetround, libc_fesetround, libc_feholdexcept, and
3241 libc_feholdexceptl.
3242
3243 2011-10-18 Andreas Schwab <schwab@redhat.com>
3244
3245 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
3246 (__feraiseexcept_renamed): Add __NTH.
3247 (feraiseexcept): Add __NTH. Rename local variables to fix
3248 namespace violations.
3249
3250 2011-10-17 Ulrich Drepper <drepper@gmail.com>
3251
3252 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
3253
3254 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
3255
3256 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
3257 recently added interfaces.
3258 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
3259
3260 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
3261 about macro parameter expansion.
3262
3263 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
3264 __NO_MATH_INLINES is defined. Cleanups.
3265
3266 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
3267 and __floorf is target has SSE4.1.
3268 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
3269 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
3270 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
3271 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
3272
3273 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
3274 name.
3275 (floorf): Likewise.
3276
3277 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
3278
3279 2011-10-17 Andreas Schwab <schwab@redhat.com>
3280
3281 * misc/sys/cdefs.h: Fix last change.
3282
3283 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
3284 database lookup.
3285
3286 2011-10-16 Ulrich Drepper <drepper@gmail.com>
3287
3288 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
3289
3290 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
3291 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
3292 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
3293 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
3294 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
3295 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
3296 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
3297 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
3298 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
3299 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
3300 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
3301 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
3302 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
3303 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
3304 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
3305 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
3306 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
3307 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
3308 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
3309 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
3310 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
3311 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
3312
3313 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
3314 ceil, ceilf, floor, floorf.
3315
3316 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
3317 Perform IRELATIVE relocations last.
3318
3319 * elf/do-rel.h: Add another parameter nrelative, replacing the
3320 local variable with the same name. Change name of the function
3321 to end in Rel or Rela (uppercase).
3322 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
3323 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
3324 elf_dynamic_do_##reloc function.
3325
3326 2011-10-15 Ulrich Drepper <drepper@gmail.com>
3327
3328 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
3329 is sufficient, at least on modern CPUs.
3330
3331 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
3332
3333 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
3334 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
3335
3336 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
3337 __expl_finite.
3338 * math/bits/math-finite.h: Add entries for exp.
3339 * math/e_expl.c: Add __*_finite alias.
3340 * sysdeps/i386/fpu/e_exp.S: Likewise.
3341 * sysdeps/i386/fpu/e_expf.S: Likewise.
3342 * sysdeps/i386/fpu/e_expl.c: Likewise.
3343 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
3344 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
3345 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
3346 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
3347 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
3348 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
3349 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
3350
3351 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
3352 is sufficient, at least on modern CPUs.
3353
3354 * ctype/ctype-info.c (__ctype_init): Define.
3355 * include/ctype.h (__ctype_init): Declare.
3356 (__ctype_b_loc): The variable is always initialized.
3357 (__ctype_toupper_loc): Likewise.
3358 (__ctype_tolower_loc): Likewise.
3359 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
3360 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
3361
3362 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
3363
3364 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
3365
3366 * configure.in: Also look in $cxxmachine/include for C++ system
3367 headers.
3368
3369 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3370
3371 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
3372 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
3373 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
3374 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
3375 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
3376 (USE_AS_WMEMCMP): New macro.
3377 Fixing indents.
3378 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
3379 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
3380 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
3381 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
3382 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
3383 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
3384 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
3385 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
3386 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
3387 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
3388 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
3389 (USE_AS_WMEMCMP): New macro.
3390 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
3391 * sysdeps/string/test-memcmp.c: Update.
3392 Fix simple_wmemcmp.
3393 Add new tests.
3394 * wcsmbs/wmemcmp.c: Update.
3395 (WMEMCMP): New macro.
3396 Fix overflow bug.
3397
3398 2011-10-12 Andreas Jaeger <aj@suse.de>
3399
3400 [BZ #13268]
3401 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
3402
3403 2011-10-15 Ulrich Drepper <drepper@gmail.com>
3404
3405 * libio/iofwide.c (do_length): Avoid warning.
3406
3407 * ctype/ctype.h (__isctype_f): Add missing __THROW.
3408
3409 2011-10-14 Ulrich Drepper <drepper@gmail.com>
3410
3411 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
3412
3413 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
3414 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
3415 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
3416 * sysdeps/i386/i686/fpu/e_log.S: New file.
3417 * sysdeps/i386/i686/fpu/e_logf.S: New file.
3418 * sysdeps/i386/i686/fpu/e_logl.S: New file.
3419
3420 * ctype/ctype.h: Add support for inlined isXXX functions when
3421 compiling C++ code.
3422
3423 2011-10-14 Andreas Schwab <schwab@redhat.com>
3424
3425 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
3426
3427 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
3428
3429 2011-10-13 Roland McGrath <roland@hack.frob.com>
3430
3431 [BZ #13291]
3432 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
3433
3434 2011-10-13 Andreas Schwab <schwab@redhat.com>
3435
3436 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
3437 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
3438 feraiseexcept.
3439
3440 * sysdeps/x86_64/memrchr.S: Check for zero size.
3441
3442 * string/stratcliff.c: Add memrchr tests.
3443
3444 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3445
3446 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
3447 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
3448 rawmemchr-sse2 rawmemchr-sse2-bsf.
3449 * sysdeps/i386/i686/multiarch/memchr.S: New file.
3450 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
3451 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
3452 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
3453 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
3454 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
3455 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
3456 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
3457 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
3458 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
3459 * string/memrchr.c (MEMRCHR): New macro.
3460
3461 2011-10-12 Ulrich Drepper <drepper@gmail.com>
3462
3463 Add integration with gcc's -ffinite-math-only and optimize wrapper
3464 functions in libm.
3465 * Versions.def: Define GLIBC_2.15 version for libm.
3466 * math/Makefile (headers): Add bits/math-finite.h.
3467 * math/bits/math-finite.h: New file.
3468 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
3469 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
3470 * math/e_acoshl.c: Add __*_finite alias.
3471 * math/e_acosl.c: Likewise.
3472 * math/e_asinl.c: Likewise.
3473 * math/e_atan2l.c: Likewise.
3474 * math/e_atanhl.c: Likewise.
3475 * math/e_coshl.c: Likewise.
3476 * math/e_exp10.c: Likewise.
3477 * math/e_exp10f.c: Likewise.
3478 * math/e_exp10l.c: Likewise.
3479 * math/e_exp2l.c: Likewise.
3480 * math/e_fmodl.c: Likewise.
3481 * math/e_gammal_r.c: Likewise.
3482 * math/e_hypotl.c: Likewise.
3483 * math/e_j0l.c: Likewise.
3484 * math/e_j1l.c: Likewise.
3485 * math/e_jnl.c: Likewise.
3486 * math/e_lgammal_r.c: Likewise.
3487 * math/e_log10l.c: Likewise.
3488 * math/e_log2l.c: Likewise.
3489 * math/e_logl.c: Likewise.
3490 * math/e_powl.c: Likewise.
3491 * math/e_sinhl.c: Likewise.
3492 * math/e_sqrtl.c: Likewise.
3493 * math/e_scalb.c: Completely rewritten and optimized.
3494 * math/e_scalbf.c: Likewise.
3495 * math/e_scalbl.c: Likewise.
3496 * math/w_acos.c: Likewise.
3497 * math/w_acosf.c: Likewise.
3498 * math/w_acosl.c: Likewise.
3499 * math/w_acosh.c: Likewise.
3500 * math/w_acoshf.c: Likewise.
3501 * math/w_acoshl.c: Likewise.
3502 * math/w_asin.c: Likewise.
3503 * math/w_asinf.c: Likewise.
3504 * math/w_asinl.c: Likewise.
3505 * math/w_atan2.c: Likewise.
3506 * math/w_atan2f.c: Likewise.
3507 * math/w_atan2l.c: Likewise.
3508 * math/w_atanh.c: Likewise.
3509 * math/w_atanhf.c: Likewise.
3510 * math/w_atanhl.c: Likewise.
3511 * math/w_exp10.c: Likewise.
3512 * math/w_exp10f.c: Likewise.
3513 * math/w_exp10l.c: Likewise.
3514 * math/w_fmod.c: Likewise.
3515 * math/w_fmodf.c: Likewise.
3516 * math/w_fmodl.c: Likewise.
3517 * math/w_j0.c: Likewise.
3518 * math/w_j0f.c: Likewise.
3519 * math/w_j0l.c: Likewise.
3520 * math/w_j1.c: Likewise.
3521 * math/w_j1f.c: Likewise.
3522 * math/w_j1l.c: Likewise.
3523 * math/w_jn.c: Likewise.
3524 * math/w_jnf.c: Likewise.
3525 * math/w_log.c: Likewise.
3526 * math/w_logf.c: Likewise.
3527 * math/w_logl.c: Likewise.
3528 * math/w_log10.c: Likewise.
3529 * math/w_log10f.c: Likewise.
3530 * math/w_log10l.c: Likewise.
3531 * math/w_log2.c: Likewise.
3532 * math/w_log2f.c: Likewise.
3533 * math/w_log2l.c: Likewise.
3534 * math/w_pow.c: Likewise.
3535 * math/w_powf.c: Likewise.
3536 * math/w_powl.c: Likewise.
3537 * math/w_remainder.c: Likewise.
3538 * math/w_remainderf.c: Likewise.
3539 * math/w_remainderl.c: Likewise.
3540 * math/w_scalb.c: Likewise.
3541 * math/w_scalbf.c: Likewise.
3542 * math/w_scalbl.c: Likewise.
3543 * math/w_sqrt.c: Likewise.
3544 * math/w_sqrtf.c: Likewise.
3545 * math/w_sqrtl.c: Likewise.
3546 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
3547 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
3548 used.
3549 * math/math_private.h: Declare __kernel_standard_f.
3550 * math/w_cosh.c: Remove cruft and optimize a bit.
3551 * math/w_coshf.c: Likewise.
3552 * math/w_coshl.c: Likewise.
3553 * math/w_exp2.c: Likewise.
3554 * math/w_exp2f.c: Likewise.
3555 * math/w_exp2l.c: Likewise.
3556 * math/w_hypot.c: Likewise.
3557 * math/w_hypotf.c: Likewise.
3558 * math/w_hypotl.c: Likewise.
3559 * math/w_lgamma.c: Likewise.
3560 * math/w_lgamma_r.c: Likewise.
3561 * math/w_lgammaf.c: Likewise.
3562 * math/w_lgammaf_r.c: Likewise.
3563 * math/w_lgammal.c: Likewise.
3564 * math/w_lgammal_r.c: Likewise.
3565 * math/w_sinh.c: Likewise.
3566 * math/w_sinhf.c: Likewise.
3567 * math/w_sinhl.c: Likewise.
3568 * math/w_tgamma.c: Likewise.
3569 * math/w_tgammaf.c: Likewise.
3570 * math/w_tgammal.c: Likewise.
3571 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
3572 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
3573 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
3574 Minor optimizations. Pretty printing. Remove cruft.
3575 * sysdeps/i386/fpu/e_acosf.S: Likewise.
3576 * sysdeps/i386/fpu/e_acosh.S: Likewise.
3577 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
3578 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
3579 * sysdeps/i386/fpu/e_acosl.c: Likewise.
3580 * sysdeps/i386/fpu/e_asin.S: Likewise.
3581 * sysdeps/i386/fpu/e_asinf.S: Likewise.
3582 * sysdeps/i386/fpu/e_atan2.S: Likewise.
3583 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
3584 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
3585 * sysdeps/i386/fpu/e_atanh.S: Likewise.
3586 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
3587 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
3588 * sysdeps/i386/fpu/e_exp10.S: Likewise.
3589 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
3590 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
3591 * sysdeps/i386/fpu/e_exp2.S: Likewise.
3592 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
3593 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
3594 * sysdeps/i386/fpu/e_fmod.S: Likewise.
3595 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
3596 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
3597 * sysdeps/i386/fpu/e_hypot.S: Likewise.
3598 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
3599 * sysdeps/i386/fpu/e_log.S: Likewise.
3600 * sysdeps/i386/fpu/e_log10.S: Likewise.
3601 * sysdeps/i386/fpu/e_log10f.S: Likewise.
3602 * sysdeps/i386/fpu/e_log10l.S: Likewise.
3603 * sysdeps/i386/fpu/e_log2.S: Likewise.
3604 * sysdeps/i386/fpu/e_log2f.S: Likewise.
3605 * sysdeps/i386/fpu/e_log2l.S: Likewise.
3606 * sysdeps/i386/fpu/e_logf.S: Likewise.
3607 * sysdeps/i386/fpu/e_logl.S: Likewise.
3608 * sysdeps/i386/fpu/e_pow.S: Likewise.
3609 * sysdeps/i386/fpu/e_powf.S: Likewise.
3610 * sysdeps/i386/fpu/e_powl.S: Likewise.
3611 * sysdeps/i386/fpu/e_remainder.S: Likewise.
3612 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
3613 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
3614 * sysdeps/i386/fpu/e_scalb.S: Likewise.
3615 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
3616 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
3617 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
3618 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
3619 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
3620 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
3621 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
3622 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
3623 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
3624 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
3625 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
3626 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
3627 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
3628 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
3629 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
3630 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
3631 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
3632 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
3633 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
3634 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
3635 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
3636 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
3637 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
3638 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
3639 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
3640 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
3641 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
3642 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
3643 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
3644 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
3645 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
3646 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
3647 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
3648 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
3649 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
3650 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
3651 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
3652 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
3653 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
3654 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
3655 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
3656 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
3657 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
3658 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
3659 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
3660 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
3661 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
3662 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
3663 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
3664 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
3665 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
3666 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
3667 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
3668 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
3669 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
3670 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
3671 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
3672 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
3673 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
3674 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
3675 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
3676 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
3677 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
3678 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
3679 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
3680 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
3681 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
3682 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
3683 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
3684 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
3685 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
3686 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
3687 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
3688 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
3689 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
3690 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
3691 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
3692 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
3693 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
3694 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
3695 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
3696 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
3697 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
3698 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
3699 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
3700 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
3701 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
3702 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
3703 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
3704 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
3705 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
3706 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
3707 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
3708 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
3709 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
3710 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
3711 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
3712 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
3713 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
3714 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
3715 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
3716 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
3717 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
3718 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
3719 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
3720 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
3721 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
3722 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
3723 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
3724 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
3725 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
3726 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
3727 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
3728 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
3729 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
3730 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
3731 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
3732 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
3733 (__isnanf): Likewise.
3734 (__isinf_ns): Likewise.
3735 (__isinf_nsf): Likewise.
3736 (__finite): Likewise.
3737 (__finitef): Likewise.
3738 (__ieee754_sqrt): Define as macro.
3739 (__ieee754_sqrtf): Define as macro.
3740 (__ieee754_sqrtl): Define as macro.
3741 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
3742 inlined copy.
3743 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
3744 __FINITE_MATH_ONLY__ consistent.
3745 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
3746
3747 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
3748
3749 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
3750 of rawmemchr.
3751
3752 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
3753
3754 2011-10-09 Ulrich Drepper <drepper@gmail.com>
3755
3756 * po/ja.po: Update from translation team.
3757
3758 2011-10-08 Roland McGrath <roland@hack.frob.com>
3759
3760 * locale/programs/locarchive.c (prepare_address_space): New function.
3761 (create_archive, enlarge_archive, open_archive): Use it.
3762
3763 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
3764 inside [SHARED], where it is used.
3765
3766 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
3767
3768 * nss/getent.c (netgroup_keys): Remove unused variable.
3769 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
3770
3771 2011-10-08 Ulrich Drepper <drepper@gmail.com>
3772
3773 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
3774 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
3775 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
3776 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
3777 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
3778 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
3779 * math/Makefile (libm-calls): Add s_isinf_ns.
3780 * math/divtc3.c: Use __isinf_nsl instead of isinf.
3781 * math/multc3.c: Likewise.
3782 * math/s_casin.c: Likewise.
3783 * math/s_casinf.c: Likewise.
3784 * math/s_casinl.c: Likewise.
3785 * math/s_ccos.c: Likewise.
3786 * math/s_ccosf.c: Likewise.
3787 * math/s_ccosl.c: Likewise.
3788 * math/s_ctan.c: Likewise.
3789 * math/s_ctanf.c: Likewise.
3790 * math/s_ctanh.c: Likewise.
3791 * math/s_ctanhf.c: Likewise.
3792 * math/s_ctanhl.c: Likewise.
3793 * math/s_ctanl.c: Likewise.
3794 * math/w_fmod.c: Likewise.
3795 * math/w_fmodf.c: Likewise.
3796 * math/w_fmodl.c: Likewise.
3797 * math/w_remainder.c: Likewise.
3798 * math/w_remainderf.c: Likewise.
3799 * math/w_remainderl.c: Likewise.
3800 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
3801 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
3802 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
3803 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
3804 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
3805 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
3806 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
3807 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
3808
3809 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
3810 of the number.
3811 * stdio-common/printf_fphex.c: Likewise.
3812 * stdio-common/printf_size.c: Likewise.
3813
3814 * math/e_exp10.c: Include math_private.h using <...> not "...".
3815 * math/e_exp10f.c: Likewise.
3816 * math/e_exp10l.c: Likewise.
3817 * math/e_exp2l.c: Likewise.
3818 * math/e_j0l.c: Likewise.
3819 * math/e_j1l.c: Likewise.
3820 * math/e_jnl.c: Likewise.
3821 * math/e_lgammal_r.c: Likewise.
3822 * math/e_rem_pio2l.c: Likewise.
3823 * math/e_scalb.c: Likewise.
3824 * math/e_scalbf.c: Likewise.
3825 * math/e_scalbl.c: Likewise.
3826 * math/k_cosl.c: Likewise.
3827 * math/k_sinl.c: Likewise.
3828 * math/k_tanl.c: Likewise.
3829 * math/s_cacoshf.c: Likewise.
3830 * math/s_catan.c: Likewise.
3831 * math/s_catanf.c: Likewise.
3832 * math/s_catanh.c: Likewise.
3833 * math/s_catanhf.c: Likewise.
3834 * math/s_catanhl.c: Likewise.
3835 * math/s_catanl.c: Likewise.
3836 * math/s_ccosh.c: Likewise.
3837 * math/s_ccoshf.c: Likewise.
3838 * math/s_ccoshl.c: Likewise.
3839 * math/s_cexp.c: Likewise.
3840 * math/s_cexpf.c: Likewise.
3841 * math/s_cexpl.c: Likewise.
3842 * math/s_clog.c: Likewise.
3843 * math/s_clog10.c: Likewise.
3844 * math/s_clog10f.c: Likewise.
3845 * math/s_clog10l.c: Likewise.
3846 * math/s_clogf.c: Likewise.
3847 * math/s_clogl.c: Likewise.
3848 * math/s_csin.c: Likewise.
3849 * math/s_csinf.c: Likewise.
3850 * math/s_csinh.c: Likewise.
3851 * math/s_csinhf.c: Likewise.
3852 * math/s_csinhl.c: Likewise.
3853 * math/s_csinl.c: Likewise.
3854 * math/s_csqrt.c: Likewise.
3855 * math/s_csqrtf.c: Likewise.
3856 * math/s_csqrtl.c: Likewise.
3857 * math/s_ctan.c: Likewise.
3858 * math/s_ctanf.c: Likewise.
3859 * math/s_ctanh.c: Likewise.
3860 * math/s_ctanhf.c: Likewise.
3861 * math/s_ctanhl.c: Likewise.
3862 * math/s_ctanl.c: Likewise.
3863 * math/s_ldexp.c: Likewise.
3864 * math/s_ldexpf.c: Likewise.
3865 * math/s_ldexpl.c: Likewise.
3866 * math/s_significand.c: Likewise.
3867 * math/s_significandf.c: Likewise.
3868 * math/s_significandl.c: Likewise.
3869 * math/w_acos.c: Likewise.
3870 * math/w_acosf.c: Likewise.
3871 * math/w_acosh.c: Likewise.
3872 * math/w_acoshf.c: Likewise.
3873 * math/w_acoshl.c: Likewise.
3874 * math/w_acosl.c: Likewise.
3875 * math/w_asin.c: Likewise.
3876 * math/w_asinf.c: Likewise.
3877 * math/w_asinl.c: Likewise.
3878 * math/w_atan2.c: Likewise.
3879 * math/w_atan2f.c: Likewise.
3880 * math/w_atan2l.c: Likewise.
3881 * math/w_atanh.c: Likewise.
3882 * math/w_atanhf.c: Likewise.
3883 * math/w_atanhl.c: Likewise.
3884 * math/w_cosh.c: Likewise.
3885 * math/w_coshf.c: Likewise.
3886 * math/w_coshl.c: Likewise.
3887 * math/w_dremf.c: Likewise.
3888 * math/w_exp10.c: Likewise.
3889 * math/w_exp10f.c: Likewise.
3890 * math/w_exp10l.c: Likewise.
3891 * math/w_exp2.c: Likewise.
3892 * math/w_exp2f.c: Likewise.
3893 * math/w_fmod.c: Likewise.
3894 * math/w_fmodf.c: Likewise.
3895 * math/w_fmodl.c: Likewise.
3896 * math/w_hypot.c: Likewise.
3897 * math/w_hypotf.c: Likewise.
3898 * math/w_hypotl.c: Likewise.
3899 * math/w_j0.c: Likewise.
3900 * math/w_j0f.c: Likewise.
3901 * math/w_j0l.c: Likewise.
3902 * math/w_j1.c: Likewise.
3903 * math/w_j1f.c: Likewise.
3904 * math/w_j1l.c: Likewise.
3905 * math/w_jn.c: Likewise.
3906 * math/w_jnf.c: Likewise.
3907 * math/w_jnl.c: Likewise.
3908 * math/w_lgamma.c: Likewise.
3909 * math/w_lgamma_r.c: Likewise.
3910 * math/w_lgammaf.c: Likewise.
3911 * math/w_lgammaf_r.c: Likewise.
3912 * math/w_lgammal.c: Likewise.
3913 * math/w_lgammal_r.c: Likewise.
3914 * math/w_log.c: Likewise.
3915 * math/w_log10.c: Likewise.
3916 * math/w_log10f.c: Likewise.
3917 * math/w_log10l.c: Likewise.
3918 * math/w_log2.c: Likewise.
3919 * math/w_log2f.c: Likewise.
3920 * math/w_log2l.c: Likewise.
3921 * math/w_logf.c: Likewise.
3922 * math/w_logl.c: Likewise.
3923 * math/w_pow.c: Likewise.
3924 * math/w_powf.c: Likewise.
3925 * math/w_powl.c: Likewise.
3926 * math/w_remainder.c: Likewise.
3927 * math/w_remainderf.c: Likewise.
3928 * math/w_remainderl.c: Likewise.
3929 * math/w_scalb.c: Likewise.
3930 * math/w_scalbf.c: Likewise.
3931 * math/w_scalbl.c: Likewise.
3932 * math/w_sinh.c: Likewise.
3933 * math/w_sinhf.c: Likewise.
3934 * math/w_sinhl.c: Likewise.
3935 * math/w_sqrt.c: Likewise.
3936 * math/w_sqrtf.c: Likewise.
3937 * math/w_sqrtl.c: Likewise.
3938 * math/w_tgamma.c: Likewise.
3939 * math/w_tgammaf.c: Likewise.
3940 * math/w_tgammal.c: Likewise.
3941
3942 * po/ja.po: Update from translation team.
3943
3944 2011-09-29 Andreas Jaeger <aj@suse.de>
3945
3946 [BZ #13179]
3947 * sunrpc/netname.c (netname2host): Fix logic.
3948
3949 [BZ #6779]
3950 [BZ #6783]
3951 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
3952 correctly.
3953 * math/w_remainder.c (__remainder): Likewise.
3954 * math/w_remainderf.c (__remainderf): Likewise.
3955 * math/libm-test.inc (remainder_test): Add test cases.
3956
3957 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3958
3959 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
3960 sdiv_qrnnd.
3961
3962 2011-10-07 Ulrich Drepper <drepper@gmail.com>
3963
3964 * string/test-memcmp.c: Avoid unncessary #defines.
3965 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
3966
3967 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3968
3969 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
3970 Use new sse2 version for core i3 - i7 as it's faster
3971 than sse42 version.
3972 (bit_Prefer_PMINUB_for_stringop): New.
3973 * sysdeps/x86_64/rawmemchr.S: Update.
3974 Replace with faster SSE2 version.
3975 * sysdeps/x86_64/memrchr.S: New file.
3976 * sysdeps/x86_64/memchr.S: Update.
3977 Replace with faster SSE2 version.
3978
3979 2011-09-12 Marek Polacek <mpolacek@redhat.com>
3980
3981 * elf/dl-load.c (lose): Add cast to avoid warning.
3982
3983 2011-10-07 Ulrich Drepper <drepper@gmail.com>
3984
3985 * po/ca.po: Update from translation team.
3986
3987 * inet/getnetgrent_r.c: Hook up nscd.
3988 * nscd/Makefile (routines): Add nscd_netgroup.
3989 (nscd-modules): Add netgroupcache.
3990 (CFLAGS-netgroupcache.c): Define.
3991 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
3992 (cache_search): Add const to second parameter.
3993 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
3994 INNETGR.
3995 (dbs): Add netgrdb entry.
3996 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
3997 (verify_persistent_db): Handle netgrdb.
3998 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
3999 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
4000 GETFDNETGR.
4001 (netgroup_response_header): Define.
4002 (innetgroup_response_header): Define.
4003 (datahead): Add netgroup_response_header and innetgroup_response_header
4004 elements.
4005 * nscd/nscd.conf: Add entries for netgroup cache.
4006 * nscd/nscd.h (dbtype): Add netgrdb.
4007 (_PATH_NSCD_NETGROUP_DB): Define.
4008 (netgroup_iov_disabled): Declare.
4009 (xmalloc, xcalloc, xrealloc): Move declarations here.
4010 (cache_search): Adjust prototype.
4011 Add netgroup-related prototypes.
4012 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
4013 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
4014 (__nscd_innetgr): Declare.
4015 * nscd/selinux.c (perms): Use access_vector_t as element type and
4016 add netgroup-related initializers.
4017 * nscd/netgroupcache.c: New file.
4018 * nscd/nscd_netgroup.c: New file.
4019 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
4020 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
4021 For four parameters use innetgr.
4022 * nss/nss_files/files-init.c: Add definition and callback for netgr.
4023 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
4024 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
4025 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
4026
4027 * nscd/connections.c (register_traced_file): Don't register file
4028 for disabled databases.
4029
4030 2011-10-06 Ulrich Drepper <drepper@gmail.com>
4031
4032 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
4033
4034 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
4035 from tree and freeing node.
4036
4037 2011-09-25 Jiri Olsa <jolsa@redhat.com>
4038
4039 * nss/nsswitch.c (__nss_database_lookup): Handle
4040 nss_parse_service_list out of memory case.
4041
4042 2011-09-15 Jiri Olsa <jolsa@redhat.com>
4043
4044 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
4045 out of memory case.
4046
4047 2011-10-04 Andreas Schwab <schwab@redhat.com>
4048
4049 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
4050 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
4051 pass it down.
4052 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
4053 elf_machine_rela, elf_machine_lazy_rel.
4054 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
4055 (ELF_DYNAMIC_DO_REL): Likewise.
4056 (ELF_DYNAMIC_DO_RELA): Likewise.
4057 (ELF_DYNAMIC_RELOCATE): Likewise.
4058 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
4059 to ELF_DYNAMIC_DO_REL.
4060 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
4061 (dl_main): In trace mode always set __RTLD_NOIFUNC.
4062 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
4063 elf_machine_rela.
4064 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
4065 skip_ifunc, don't call ifunc function if non-zero.
4066 (elf_machine_rela): Likewise.
4067 (elf_machine_lazy_rel): Likewise.
4068 (elf_machine_lazy_rela): Likewise.
4069 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
4070 (elf_machine_lazy_rel): Likewise.
4071 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
4072 Likewise.
4073 (elf_machine_lazy_rel): Likewise.
4074 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
4075 Likewise.
4076 (elf_machine_lazy_rel): Likewise.
4077 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
4078 (elf_machine_lazy_rel): Likewise.
4079 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
4080 (elf_machine_lazy_rel): Likewise.
4081 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
4082 (elf_machine_lazy_rel): Likewise.
4083 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
4084 (elf_machine_lazy_rel): Likewise.
4085 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
4086 (elf_machine_lazy_rel): Likewise.
4087 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
4088 (elf_machine_lazy_rel): Likewise.
4089
4090 2011-09-28 Ulrich Drepper <drepper@gmail.com>
4091
4092 * nss/nss_files/files-init.c (_nss_files_init): Use static
4093 initialization for all the *_traced_file variables.
4094
4095 2011-09-28 Andreas Schwab <schwab@redhat.com>
4096
4097 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
4098
4099 2011-09-27 Roland McGrath <roland@hack.frob.com>
4100
4101 [BZ #13226]
4102 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
4103
4104 2011-09-27 Andreas Schwab <schwab@redhat.com>
4105
4106 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
4107 Reread the line before reparsing it.
4108
4109 2011-09-26 Andreas Schwab <schwab@redhat.com>
4110
4111 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
4112
4113 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
4114 Maxim Kuvyrkov <maxim@codesourcery.com>
4115 Joseph Myers <joseph@codesourcery.com>
4116
4117 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
4118 if needed for __stack_chk_guard.
4119
4120 2011-09-19 Roland McGrath <roland@hack.frob.com>
4121
4122 * sysdeps/posix/spawni.c (script_execute): Always define it.
4123 It will be optimized away if unused.
4124 (maybe_script_execute): New function.
4125 (__spawni): Call it.
4126
4127 * Makerules: Don't include tls.make.
4128 (config-tls): Always set to thread.
4129 * tls.make.c: File removed.
4130
4131 2011-09-19 Mike Frysinger <vapier@gentoo.org>
4132
4133 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
4134 * config.make.in (CPPFLAGS-config): New substituted variable.
4135
4136 2011-09-15 Ulrich Drepper <drepper@gmail.com>
4137
4138 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
4139
4140 [BZ #13192]
4141 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
4142 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
4143
4144 2011-09-15 Roland McGrath <roland@hack.frob.com>
4145
4146 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
4147 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
4148 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
4149 (CALL_FAIL): Likewise.
4150 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
4151 (CALL_FAIL): Macro removed.
4152 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
4153
4154 2011-09-15 Ulrich Drepper <drepper@gmail.com>
4155
4156 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
4157 for __FINITE_MATH_ONLY__ == 1.
4158
4159 2011-09-15 Andreas Schwab <schwab@redhat.com>
4160
4161 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
4162 __ieee754_sqrt instead of sqrt.
4163 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
4164 __ieee754_sqrtf instead of sqrtf.
4165 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
4166 __floorf instead of floorf.
4167 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
4168 __floorf, __truncf instead of floorf, truncf.
4169
4170 2011-09-14 Ulrich Drepper <drepper@gmail.com>
4171
4172 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
4173
4174 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
4175 __extern_always_inline.
4176 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
4177 32-bit.
4178
4179 2011-09-14 Andreas Schwab <schwab@redhat.com>
4180
4181 * elf/rtld.c (dl_main): Also relocate in dependency order when
4182 doing symbol dependency testing.
4183
4184 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
4185
4186 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
4187 Always define `refsym'.
4188
4189 2011-09-13 Andreas Schwab <schwab@redhat.com>
4190
4191 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
4192 (__FD_ELT): Renamed from __FDELT.
4193 * misc/bits/select2.h (__FD_ELT): Likewise.
4194 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
4195 __FD_MASK instead of __FDELT, __FDMASK.
4196 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
4197 Likewise.
4198 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
4199 Likewise.
4200
4201 * elf/Makefile (gen-ldd): Fix pattern.
4202
4203 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
4204 (init_tls): Likewise.
4205
4206 2011-09-12 Ulrich Drepper <drepper@gmail.com>
4207
4208 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
4209
4210 2011-09-12 Andreas Schwab <schwab@redhat.com>
4211
4212 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
4213 `struct cmsghdr *' instead of `void *'.
4214 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
4215 Likewise.
4216
4217 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
4218
4219 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
4220 if non-absolute.
4221 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
4222 ldd_rewrite_script.
4223
4224 2011-09-11 Ulrich Drepper <drepper@gmail.com>
4225
4226 * configure.in: Remove --with-tls option.
4227 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
4228 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
4229 out in case it is missing.
4230 * sysdeps/ia64/elf/configure.in: Likewise.
4231 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
4232 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
4233 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
4234 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
4235 * sysdeps/sh/elf/configure.in: Likewise.
4236 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
4237 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
4238 * sysdeps/x86_64/elf/configure.in: Likewise.
4239 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
4240 * sysdeps/mach/hurd/tls.h: Likewise.
4241
4242 [BZ #13067]
4243 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
4244
4245 [BZ #13090]
4246 * configure.in: Fix use of AC_INIT.
4247
4248 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
4249
4250 2011-09-10 Ulrich Drepper <drepper@gmail.com>
4251
4252 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
4253 __set_errno.
4254 * malloc/hooks.c: Likewise.
4255
4256 [BZ #11929]
4257 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
4258 variables statically.
4259 (narenas): Initialize.
4260 (list_lock): Initialize.
4261 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
4262 initializtion of main_arena and list_lock. Small cleanups.
4263 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
4264 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
4265 Add initializers to main_arena and mp_.
4266 (malloc_state): Remove pagesize member. Change all users to use
4267 GLRO(dl_pagesize).
4268
4269 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
4270 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
4271 is always initialized.
4272
4273 * malloc/malloc.c: Removed unused configurations and dead code.
4274 * malloc/arena.c: Likewise.
4275 * malloc/hooks.c: Likewise.
4276 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
4277
4278 * include/tls.h: Removed. USE___THREAD must always be defined.
4279 * bits/libc-tsd.h: Don't handle !USE___THREAD.
4280 * elf/dl-libc.c: Likewise.
4281 * elf/dl-tsd.c: Likewise.
4282 * include/errno.h: Likewise.
4283 * include/netdb.h: Likewise.
4284 * include/resolv.h: Likewise.
4285 * inet/herrno-loc.c: Likewise.
4286 * inet/herrno.c: Likewise.
4287 * malloc/arena.c: Likewise.
4288 * malloc/hooks.c: Likewise.
4289 * malloc/malloc.c: Likewise.
4290 * resolv/res-state.c: Likewise.
4291 * resolv/res_libc.c: Likewise.
4292 * sysdeps/i386/dl-machine.h: Likewise.
4293 * sysdeps/ia64/dl-machine.h: Likewise.
4294 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
4295 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
4296 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
4297 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
4298 * sysdeps/sh/dl-machine.h: Likewise.
4299 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
4300 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
4301 * sysdeps/unix/i386/sysdep.S: Likewise.
4302 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
4303 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
4304 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
4305 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
4306 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
4307 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
4308 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
4309 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
4310 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
4311 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
4312 * sysdeps/unix/x86_64/sysdep.S: Likewise.
4313 * sysdeps/x86_64/dl-machine.h: Likewise.
4314 * tls.make.c: Likewise.
4315
4316 * configure.in: Remove --with-__thread option. Make tests for
4317 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
4318 tls_model attribute fail if no support is available. Remove
4319 USE_IN_LIBIO.
4320 * Makeconfig: Adjust for dropped configure option. All features are
4321 now mandatory.
4322 * Makerules: Likewise.
4323 * Versions.def: Likewise.
4324 * argp/argp-fmtstream.c: Likewise.
4325 * argp/argp-fmtstream.h: Likewise.
4326 * argp/argp-help.c: Likewise.
4327 * assert/assert.c: Likewise.
4328 * config.h.in: Likewise.
4329 * config.make.in: Likewise.
4330 * configure: Likewise.
4331 * configure.in: Likewise.
4332 * csu/Versions: Likewise.
4333 * csu/init.c: Likewise.
4334 * elf/tst-audit2.c: Likewise.
4335 * elf/tst-tls10.c: Likewise.
4336 * elf/tst-tls10.h: Likewise.
4337 * elf/tst-tls11.c: Likewise.
4338 * elf/tst-tls12.c: Likewise.
4339 * elf/tst-tls14.c: Likewise.
4340 * elf/tst-tlsmod11.c: Likewise.
4341 * elf/tst-tlsmod12.c: Likewise.
4342 * elf/tst-tlsmod13.c: Likewise.
4343 * elf/tst-tlsmod13a.c: Likewise.
4344 * elf/tst-tlsmod14a.c: Likewise.
4345 * elf/tst-tlsmod15b.c: Likewise.
4346 * elf/tst-tlsmod16a.c: Likewise.
4347 * elf/tst-tlsmod16b.c: Likewise.
4348 * elf/tst-tlsmod7.c: Likewise.
4349 * elf/tst-tlsmod8.c: Likewise.
4350 * elf/tst-tlsmod9.c: Likewise.
4351 * gmon/gmon.c: Likewise.
4352 * grp/fgetgrent_r.c: Likewise.
4353 * grp/putgrent.c: Likewise.
4354 * hurd/fopenport.c: Likewise.
4355 * include/libc-symbols.h: Likewise.
4356 * include/tls.h: Likewise.
4357 * intl/gettextP.h: Likewise.
4358 * intl/loadinfo.h: Likewise.
4359 * locale/global-locale.c: Likewise.
4360 * locale/localeinfo.h: Likewise.
4361 * mach/devstream.c: Likewise.
4362 * malloc/arena.c: Likewise.
4363 * malloc/set-freeres.c: Likewise.
4364 * misc/err.c: Likewise.
4365 * misc/getttyent.c: Likewise.
4366 * misc/mntent_r.c: Likewise.
4367 * posix/getopt.c: Likewise.
4368 * posix/wordexp.c: Likewise.
4369 * pwd/fgetpwent_r.c: Likewise.
4370 * resolv/Versions: Likewise.
4371 * resolv/res_hconf.c: Likewise.
4372 * shadow/fgetspent_r.c: Likewise.
4373 * shadow/putspent.c: Likewise.
4374 * stdio-common/printf_fphex.c: Likewise.
4375 * stdio-common/tmpfile.c: Likewise.
4376 * stdlib/abort.c: Likewise.
4377 * stdlib/fmtmsg.c: Likewise.
4378 * sunrpc/auth_unix.c: Likewise.
4379 * sunrpc/clnt_perr.c: Likewise.
4380 * sunrpc/clnt_tcp.c: Likewise.
4381 * sunrpc/clnt_udp.c: Likewise.
4382 * sunrpc/clnt_unix.c: Likewise.
4383 * sunrpc/openchild.c: Likewise.
4384 * sunrpc/svc_simple.c: Likewise.
4385 * sunrpc/svc_tcp.c: Likewise.
4386 * sunrpc/svc_udp.c: Likewise.
4387 * sunrpc/svc_unix.c: Likewise.
4388 * sunrpc/xdr.c: Likewise.
4389 * sunrpc/xdr_array.c: Likewise.
4390 * sunrpc/xdr_rec.c: Likewise.
4391 * sunrpc/xdr_ref.c: Likewise.
4392 * sunrpc/xdr_stdio.c: Likewise.
4393
4394 2011-09-09 Ulrich Drepper <drepper@gmail.com>
4395
4396 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
4397
4398 2011-07-03 Andreas Jaeger <aj@suse.de>
4399
4400 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
4401 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
4402 regenerate with gen-libm-tests.pl.
4403
4404 2010-05-12 Petr Baudis <pasky@suse.cz>
4405
4406 [BZ #11589]
4407 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
4408 around j0() zero points by switching to j1().
4409 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
4410 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
4411 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
4412 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
4413
4414 2011-09-09 Ulrich Drepper <drepper@gmail.com>
4415
4416 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
4417 instead of 0.
4418 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
4419 instead of 0. .
4420 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
4421 Patch in part by Pavel Roskin <proski@gnu.org>.
4422
4423 [BZ #13138]
4424 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
4425 realloc.
4426 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
4427 Free memory block if necessary.
4428
4429 [BZ #12847]
4430 * libio/genops.c (INTDEF): For string streams the _lock pointer can
4431 be NULL. Don't lock in this case.
4432
4433 2011-09-09 Roland McGrath <roland@hack.frob.com>
4434
4435 * elf/elf.h (ELFOSABI_GNU): New macro.
4436 (ELFOSABI_LINUX): Define to that.
4437
4438 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
4439
4440 * string/strncat.c (strncat): Undef the symbol in case it has been
4441 defined in bits/string.h.
4442
4443 2011-09-09 Ulrich Drepper <drepper@gmail.com>
4444
4445 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
4446
4447 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
4448 link map.
4449
4450 2011-08-17 Andreas Jaeger <aj@suse.de>
4451
4452 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
4453
4454 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
4455 Ian Lance Taylor <iant@google.com>
4456
4457 * math/libm-test.inc (lround_test): New testcase.
4458 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
4459
4460 2011-09-08 Ulrich Drepper <drepper@gmail.com>
4461
4462 * Makefile: Remove support for automatic cvs check-ins.
4463 * Makerules: Likewise.
4464 * config.make.in: Likewise.
4465 * configure.in: Likewise.
4466 * intl/Makefile: Likewise.
4467 * locale/Makefile: Likewise.
4468 * po/Makefile: Likewise.
4469 * posix/Makefile: Likewise.
4470 * sysdeps/gnu/Makefile: Likewise.
4471 * sysdeps/mach/hurd/Makefile: Likewise.
4472 * sysdeps/sparc/sparc32/Makefile: Likewise.
4473
4474 [BZ #13118]
4475 * posix/Makefile (bug-regex32-ENV): Define.
4476 Patch by John Stanley <jpsinthemix@verizon.net>.
4477
4478 * misc/Makefile (headers): Add bits/select2.h.
4479 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
4480 * misc/bits/select2.h: New file.
4481 * include/bits/select2.h: New file.
4482 * debug/Makefile (routines): Add fdelt_chk.
4483 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
4484 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
4485 FD_ISSET.
4486 * debug/fdelt_chk.c: New file.
4487
4488 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
4489 * wcsmbs/test-wmemcmp.c: Likewise.
4490 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
4491 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
4492
4493 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4494
4495 * string/Makefile (strop-tests): Add memcmp.
4496 * string/test-wmemcmp.c: New file.
4497 * string/test-memcmp.c: Add wmemcmp support.
4498
4499 2011-09-08 Roland McGrath <roland@hack.frob.com>
4500
4501 [BZ #13153]
4502 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
4503 2011-07-19 change.
4504
4505 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
4506 garbage value in a __mach_port_mod_refs call in the cases of the
4507 task-self and thread-self ports.
4508
4509 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
4510
4511 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
4512
4513 2011-09-08 Andreas Schwab <schwab@redhat.com>
4514
4515 * elf/dl-load.c (lose): Check for non-null L.
4516
4517 2011-09-07 Ulrich Drepper <drepper@gmail.com>
4518
4519 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
4520
4521 * elf/dl-libc.c (dlerror_run): Pass back error code from
4522 dl_catch_error.
4523
4524 [BZ #13123]
4525 * elf/dl-load.c (lose): Free l_origin if it is valid.
4526
4527 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
4528 names.
4529 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
4530 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
4531 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
4532 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
4533 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
4534 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
4535
4536 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4537
4538 * sysdeps/powerpc/fpu/e_hypot.c: New file.
4539 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
4540 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
4541 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
4542 * sysdeps/powerpc/fpu/k_cosf.c: New file.
4543 * sysdeps/powerpc/fpu/k_sinf.c: New file.
4544 * sysdeps/powerpc/fpu/s_cosf.c: New file.
4545 * sysdeps/powerpc/fpu/s_sinf.c: New file.
4546 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
4547 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
4548
4549 2011-08-15 Alan Modra <amodra@gmail.com>
4550
4551 [BZ #13092]
4552 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
4553 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
4554 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
4555 ppc_mcount to static-only-routines.
4556 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
4557 __mcount_internal.
4558 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
4559 __mcount_internal with usual JUMPTARGET. Remove useless nop.
4560
4561 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
4562
4563 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
4564 for finite and infinity parameters.
4565
4566 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
4567
4568 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
4569 and add nop instructions for throughput optimization.
4570 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
4571
4572 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
4573
4574 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
4575 aligned copy for power7 with vector-scalar instructions.
4576 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
4577
4578 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
4579
4580 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
4581 AVX check.
4582
4583 2011-09-07 Andreas Schwab <schwab@redhat.com>
4584
4585 [BZ #13144]
4586 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
4587 last change.
4588
4589 2011-09-07 Ulrich Drepper <drepper@gmail.com>
4590
4591 * sysdeps/unix/sysv/linux/x86_64/init-first.c
4592 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
4593 syscall wrapper around clock_gettime in __vdso_clock_gettime.
4594 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
4595 clock_gettime.
4596
4597 2011-09-06 Ulrich Drepper <drepper@gmail.com>
4598
4599 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
4600 Forgot to demangle the pointer.
4601
4602 * sysdeps/i386/sysdep.h: Define atom_text_section.
4603 * sysdeps/x86_64/sysdep.h: Likewise.
4604 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
4605 section with atom_text_section.
4606 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
4607 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
4608 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
4609 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
4610 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
4611
4612 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
4613 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
4614 already be defined. Change to take two parameters and don't assign
4615 result to variable. Adjust all users.
4616 Define INTERNAL_GETTIME if not already defined.
4617 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
4618 call.
4619 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
4620 HAVE_CLOCK_GETTIME_VSYSCALL.
4621 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
4622
4623 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
4624 gettimeofday vsyscall, just use time.
4625
4626 2011-09-06 Andreas Schwab <schwab@redhat.com>
4627
4628 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
4629 <errno.h>.
4630
4631 2011-09-06 Ulrich Drepper <drepper@gmail.com>
4632
4633 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
4634 syscall on x86-64.
4635 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
4636 syscall.
4637 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
4638 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
4639 syscall if possible.
4640
4641 2011-09-05 Ulrich Drepper <drepper@gmail.com>
4642
4643 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
4644 e_ident. Don't pass to find_mapsXX.
4645 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
4646
4647 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
4648
4649 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
4650 strchr-sse2-no-bsf strrchr-sse2-no-bsf
4651 * sysdeps/x86_64/multiarch/strchr.S: Update.
4652 Check bit_slow_BSF bit.
4653 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
4654 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
4655 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
4656
4657 2011-09-05 Ulrich Drepper <drepper@gmail.com>
4658
4659 [BZ #13134]
4660 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
4661 before glibc 2.15.
4662 (tryshell): Define.
4663 (__spawni): Change last parameter to be flag. Test
4664 SPAWN_XFLAGS_USE_PATH flag to use path or not.
4665 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
4666 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
4667 * posix/spawni.c: Likewise.
4668 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
4669 * posix/spawnp.c: Likewise. Change normal version to use
4670 SPAWN_XFLAGS_USE_PATH.
4671 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
4672 SPAWN_XFLAGS_TRY_SHELL.
4673
4674 [BZ #13150]
4675 * posix/glob.h: Remove gcc 1.x support.
4676
4677 [BZ #13068]
4678 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
4679
4680 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
4681
4682 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
4683 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
4684 strrchr-sse2-bsf
4685 * sysdeps/i386/i686/multiarch/strchr.S: New file.
4686 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
4687 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
4688 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
4689 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
4690 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
4691
4692 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4693
4694 * sysdeps/x86_64/wcscmp.S: New file.
4695
4696 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
4697 wcscmp-c wcscmp-sse2
4698 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
4699 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
4700 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
4701 * wcsmbs/wcscmp.c: Allow renaming.
4702
4703 2011-09-05 David S. Miller <davem@davemloft.net>
4704
4705 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
4706 stack slot, rather than the struct return pointer slot.
4707 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
4708 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
4709 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
4710 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
4711
4712 2011-09-05 Ulrich Drepper <drepper@gmail.com>
4713
4714 * po/ja.po: Update from translation team.
4715
4716 [BZ #13144]
4717 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
4718 kernel in 64-bit binaries.
4719
4720 2011-09-01 David S. Miller <davem@davemloft.net>
4721
4722 * elf/elf.h (HWCAP_SPARC_*): Move to..
4723 * sysdeps/sparc/sysdep.h: this new file and add new values.
4724 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
4725 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
4726 _DL_HWCAP_COUNT to 24.
4727 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
4728 entries.
4729 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
4730 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
4731 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
4732 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
4733 instead of magic constants.
4734 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
4735
4736 2011-08-31 David S. Miller <davem@davemloft.net>
4737
4738 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
4739 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
4740 Reimplement to do errno handling inline.
4741 (SYSCALL_ERROR_HANDLER): New macro.
4742 (__SYSCALL_STRING): Do not do errno handling in asm.
4743 (__CLONE_SYSCALL_STRING): Delete.
4744 (__INTERNAL_SYSCALL_STRING): Delete.
4745 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
4746 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
4747 (PSEUDO): Reimplement to do errno handling inline.
4748 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
4749 (SYSCALL_ERROR_HANDLER): New macro.
4750 (__SYSCALL_STRING): Do not do errno handling in asm.
4751 (__CLONE_SYSCALL_STRING): Delete.
4752 (__INTERNAL_SYSCALL_STRING): Delete.
4753 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
4754 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
4755 i386.
4756 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
4757 (inline_syscall*): Add 'err' argument.
4758 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
4759 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
4760 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
4761 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
4762
4763 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
4764 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
4765
4766 2011-08-30 Andreas Schwab <schwab@redhat.com>
4767
4768 * elf/rtld.c (dl_main): Relocate objects in dependency order.
4769
4770 2011-08-29 Jiri Olsa <jolsa@redhat.com>
4771
4772 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
4773 directive.
4774
4775 2011-08-24 David S. Miller <davem@davemloft.net>
4776
4777 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
4778
4779 2011-08-24 Andreas Schwab <schwab@redhat.com>
4780
4781 * elf/Makefile: Add rules to build and run unload8 test.
4782 * elf/unload8.c: New file.
4783 * elf/unload8mod1.c: New file.
4784 * elf/unload8mod1x.c: New file.
4785 * elf/unload8mod2.c: New file.
4786 * elf/unload8mod3.c: New file.
4787
4788 * elf/dl-close.c (_dl_close_worker): Reset private search list if
4789 it wasn't used.
4790
4791 2011-08-23 David S. Miller <davem@davemloft.net>
4792
4793 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
4794 subtract stack bias.
4795 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
4796 %sp not %fp in calculations.
4797 (_JMPBUF_UNWINDS_ADJ): Likewise.
4798
4799 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
4800 (aio_suspend): Call it to force an exception region around the
4801 AIO_MISC_WAIT() invocation.
4802
4803 2011-08-23 Andreas Schwab <schwab@redhat.com>
4804
4805 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
4806 backslash.
4807
4808 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
4809
4810 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
4811 protection macro.
4812 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
4813 and <dl-machine.h>.
4814 (Elf64_FuncDesc): Remove.
4815
4816 2011-08-22 David S. Miller <davem@davemloft.net>
4817
4818 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
4819 sigaltstack check, add missing cfi directives.
4820 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
4821 missing cfi directives, and sigaltstack handling.
4822
4823 2011-08-16 Andreas Schwab <schwab@redhat.com>
4824
4825 [BZ #11724]
4826 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
4827 object is seen twice.
4828 * elf/dl-fini.c (_dl_sort_fini): Likewise.
4829
4830 * elf/Makefile (distribute): Add tst-initorder2.c.
4831 (tests): Add tst-initorder2.
4832 (modules-names): Add tst-initorder2a tst-initorder2b
4833 tst-initorder2c tst-initorder2d. Add rules to build them.
4834 ($(objpfx)tst-initorder2.out): New rule.
4835 * elf/tst-initorder2.c: New file.
4836 * elf/tst-initorder2.exp: New file.
4837
4838 2011-08-22 Andreas Schwab <schwab@redhat.com>
4839
4840 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
4841
4842 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
4843 dependencies back to end of function.
4844
4845 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
4846 $(elfobjdir)/ld.so.
4847
4848 2011-08-21 Ulrich Drepper <drepper@gmail.com>
4849
4850 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
4851 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
4852 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
4853 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
4854 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
4855 of __vdso_gettimeofday.
4856 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
4857 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
4858 attribute_hidden.
4859 (_libc_vdso_platform_setup): Remove initialization of
4860 __vdso_gettimeofday and __vdso_time.
4861
4862 2011-08-20 Ulrich Drepper <drepper@gmail.com>
4863
4864 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
4865 and fgetc_unlocked.
4866 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
4867 getc_unlocked.
4868
4869 * elf/dl-open.c (add_to_global): Report additions to the global scope
4870 for LD_DEBUG=scopes.
4871 (dl_open_worker): Also print scope of newly loaded dependencies.
4872 (_dl_show_scope): Indicate if there is no scope.
4873
4874 [BZ #13114]
4875 * stdio-common/Makefile (tests): Add bug24.
4876 * stdio-common/bug24.c: New file.
4877
4878 2011-08-19 Andreas Jaeger <aj@suse.de>
4879
4880 [BZ #13114]
4881 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
4882 non-existant file when using close-on-exec mode.
4883
4884 2011-08-20 Ulrich Drepper <drepper@gmail.com>
4885
4886 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
4887 the very first instruction.
4888
4889 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
4890 the CFI state in the end.
4891 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
4892 inclusion of dl-trampoline.h.
4893 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
4894
4895 2011-08-19 Andreas Schwab <schwab@redhat.com>
4896
4897 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
4898 expectations for long double.
4899
4900 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
4901 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
4902
4903 2011-08-14 David S. Miller <davem@davemloft.net>
4904
4905 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
4906 artificual limit depends upon the system page size.
4907
4908 2011-08-17 Ulrich Drepper <drepper@gmail.com>
4909
4910 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
4911 * resolv/Makefile: Define CFLAGS-libresolv.
4912
4913 2011-08-17 Andreas Schwab <schwab@redhat.com>
4914
4915 * nss/makedb.c (compute_tables): Make variables used in nested
4916 function static.
4917
4918 2011-08-17 Ulrich Drepper <drepper@gmail.com>
4919
4920 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
4921 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
4922 if buffer was too small.
4923
4924 * elf/pldd.c (main): Attach to all threads in the process.
4925 Rewrite /proc handling to use *at functions.
4926
4927 2011-08-16 Ulrich Drepper <drepper@gmail.com>
4928
4929 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
4930 specifies first scope to show.
4931 (dl_open_worker): Update callers. Move printing scope of new
4932 object to before the relocation.
4933 * elf/rtld.c (dl_main): Update _dl_show_scope call.
4934 * sysdeps/generic/ldsodefs.h: Update declaration.
4935
4936 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
4937 string for the scope number.
4938
4939 2011-08-14 Ulrich Drepper <drepper@gmail.com>
4940
4941 * nscd/servicescache.c (cache_addserv): Make sure written is always
4942 initialized.
4943
4944 2011-08-14 Roland McGrath <roland@hack.frob.com>
4945
4946 * sysdeps/i386/i486/bits/atomic.h
4947 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
4948 statement expression, so as to suppress "set but not used" warning.
4949 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
4950
4951 * string/strncat.c (STRNCAT): Use prototype definition.
4952
4953 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
4954 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
4955 -Iprograms here.
4956 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
4957 (localedef-modules): Add localedef.
4958 (locale-modules): Add locale.
4959
4960 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
4961 * elf/rtld.c (dl_main): Invert order of assignment in last change,
4962 to avoid a warning.
4963
4964 2011-08-14 David S. Miller <davem@davemloft.net>
4965
4966 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
4967 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
4968
4969 2011-08-13 Ulrich Drepper <drepper@gmail.com>
4970
4971 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
4972 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
4973 * elf/rtld.c (dl_main): Set l_name of vDSO.
4974 Call _dl_show_scope when DL_DEBUG_SCOPES.
4975 (process_dl_debug): Recognize scopes flag and also set it for all.
4976 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
4977 Declare _dl_show_scope.
4978
4979 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
4980 (do_dlopen): Pass caller_dlopen to dl_open.
4981 (__libc_dlopen_mode): Initialize caller_dlopen.
4982
4983 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
4984 of libc. Make tolower call locale-independent. Optimize a bit by
4985 using isdigit instead of isalnum.
4986 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
4987
4988 2011-08-12 Ulrich Drepper <drepper@gmail.com>
4989
4990 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
4991 was a dependency or dynamically loaded.
4992
4993 2011-08-11 Ulrich Drepper <drepper@gmail.com>
4994
4995 * intl/l10nflist.c: Allow architecture-specific pop function.
4996 * sysdeps/x86_64/l10nflist.c: New file.
4997
4998 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
4999 classification.
5000
5001 2011-08-10 Andreas Schwab <schwab@redhat.com>
5002
5003 * include/dirent.h: Add libc_hidden_proto for scandirat and
5004 scandirat64. Don't declare __scandirat64.
5005 * dirent/scandirat.c: Add libc_hidden_def.
5006 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
5007 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
5008
5009 2011-08-10 David S. Miller <davem@davemloft.net>
5010
5011 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
5012 enum.
5013 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
5014 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
5015 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
5016
5017 2011-08-09 Ulrich Drepper <drepper@gmail.com>
5018
5019 * Versions.def [libc]: Add GLIBC_2.15.
5020 * dirent/Makefile (routines): Add scandirat and scandirat64.
5021 * dirent/Versions [libc]: Export scandirat and scandirat64 for
5022 GLIBC_2.15.
5023 * dirent/dirent.h: Declare scandirat and scandirat64.
5024 * dirent/scandirat.c: New file.
5025 * dirent/scandirat64.c: New file.
5026 * sysdeps/wordsize-64/scandirat.c: New file.
5027 * sysdeps/wordsize-64/scandirat64.c: New file.
5028 * dirent/opendir.c: Define opendirat.
5029 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
5030 using scandirat.
5031 * dirent/scandir64.c: Adjust for scandir.c change.
5032 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
5033 __scandirat64, and __scandir_cancel_handler.
5034 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
5035 additional parameter and use openat instead of open (outside of ld.so).
5036 Add new __opendir as wrapper around __opendirat.
5037 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
5038 here without requiring old scandirat implementation.
5039
5040 2011-08-08 Ulrich Drepper <drepper@gmail.com>
5041
5042 * dirent/scandir.c (cancel_handler): Renamed to
5043 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
5044 defined. Adjust users.
5045 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
5046 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
5047
5048 2011-08-04 Ulrich Drepper <drepper@gmail.com>
5049
5050 * string/test-string.h (IMPL): Use __STRING to expand name and then
5051 stringify it.
5052
5053 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
5054 of cleanups.
5055
5056 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5057
5058 * string/Makefile: Update.
5059 (strop-tests): Append strncat.
5060 * string/test-wcscmp.c: New file.
5061 New comprehensive test for wcscmp.
5062 * string/test-strcmp.c: Update.
5063 (WIDE): New define.
5064
5065 2011-07-22 Andreas Schwab <schwab@redhat.com>
5066
5067 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
5068 line.
5069
5070 2011-07-26 Andreas Schwab <schwab@redhat.com>
5071
5072 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
5073 encoding to ACE if AI_IDN.
5074
5075 2011-08-01 Jakub Jelinek <jakub@redhat.com>
5076
5077 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
5078 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
5079
5080 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
5081
5082 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
5083 Fix overflow bug in strncat.
5084 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
5085
5086 * string/test-strncat.c: Update.
5087 Add new tests for checking overflow bugs.
5088
5089 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
5090
5091 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
5092 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
5093 * sysdeps/i386/i686/multiarch/strcat.S: New file.
5094 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
5095 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
5096 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
5097 * sysdeps/i386/i686/multiarch/strncat.S: New file.
5098 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
5099 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
5100
5101 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
5102 (USE_AS_STRCAT): Define.
5103 Add strcat and strncat support.
5104 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
5105
5106 2011-07-25 Andreas Schwab <schwab@redhat.com>
5107
5108 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
5109 __n bigger than INT_MAX+1.
5110 (__strncmp_g): Likewise.
5111
5112 2011-07-23 Ulrich Drepper <drepper@gmail.com>
5113
5114 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
5115 * libio/stido.h: Likewise.
5116
5117 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
5118 (AF_NFC): Define.
5119 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
5120 (AF_NFC): Define.
5121
5122 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
5123 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
5124 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
5125 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
5126 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
5127
5128 [BZ #13021]
5129 * scripts/test-installation.pl: Don't expect libnss_test1 to be
5130 installed.
5131
5132 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
5133 typo.
5134 (_dl_x86_64_save_sse): Likewise.
5135
5136 2011-07-22 Ulrich Drepper <drepper@gmail.com>
5137
5138 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
5139 OSXSAVE.
5140 (_dl_x86_64_save_sse): Likewise.
5141
5142 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
5143
5144 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
5145
5146 2011-07-21 Andreas Schwab <schwab@redhat.com>
5147
5148 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
5149 change.
5150 (_dl_x86_64_save_sse): Use correct AVX check.
5151
5152 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5153
5154 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
5155 bug in strncpy/strncat.
5156 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
5157
5158 2011-07-21 Ulrich Drepper <drepper@gmail.com>
5159
5160 * string/tester.c (test_strcat): Add tests for different alignments
5161 of source and destination.
5162 (test_strncat): Likewise.
5163
5164 2011-07-20 Ulrich Drepper <drepper@gmail.com>
5165
5166 [BZ #12852]
5167 * posix/glob.c (glob): Check passed in values before using them in
5168 expressions to avoid some overflows.
5169 (glob_in_dir): Likewise.
5170
5171 [BZ #13007]
5172 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
5173 check for AVX enablement so that we don't crash with old kernels and
5174 new hardware.
5175 * elf/tst-audit4.c: Add same checks here.
5176 * elf/tst-audit6.c: Likewise.
5177
5178 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
5179
5180 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
5181
5182 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
5183
5184 2011-07-20 Ulrich Drepper <drepper@gmail.com>
5185
5186 * po/cs.po: Update from translation team.
5187 * po/bg.po: Likewise.
5188
5189 2011-07-12 Marek Polacek <mpolacek@redhat.com>
5190
5191 * misc/sys/cdefs.h: Add support for const attribute.
5192 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
5193 to gnu_dev_{major,minor,makedev} functions.
5194
5195 2011-07-20 Marek Polacek <mpolacek@redhat.com>
5196
5197 * intl/dcigettext.c (get_output_charset): Add missing bracket.
5198
5199 2011-07-20 Andreas Schwab <schwab@redhat.com>
5200
5201 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
5202 strlen results.
5203
5204 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5205
5206 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
5207 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
5208 register in order to avoid conflicts with the soft frame pointer
5209 being held in r11 when necessary.
5210 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
5211 (INTERNAL_VSYSCALL_NCS): Likewise.
5212
5213 2011-07-14 Marek Polacek <mpolacek@redhat.com>
5214
5215 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
5216 * elf/dl-fini.c (_dl_fini): Adjust caller.
5217 * elf/dl-close.c (_dl_close_worker): Likewise.
5218 * sysdeps/generic/ldsodefs.h: Adjust declaration.
5219
5220 2011-07-15 Marek Polacek <mpolacek@redhat.com>
5221
5222 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
5223 "aux_cache->nlibs < 0".
5224
5225 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
5226 in the reload-count case.
5227
5228 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
5229
5230 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
5231 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
5232 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
5233 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
5234 * sysdeps/x86_64/multiarch/strcat.S: New file.
5235 * sysdeps/x86_64/multiarch/strncat.S: New file.
5236 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
5237 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
5238 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
5239 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
5240 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
5241 (USE_AS_STRCAT): Define.
5242 Add strcat and strncat support.
5243 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
5244 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
5245 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
5246 * string/strncat.c: Update.
5247 (USE_AS_STRNCAT): Define.
5248 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5249 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
5250 and i7.
5251 * sysdeps/x86_64/multiarch/init-arch.h
5252 (bit_Prefer_PMINUB_for_stringop): New.
5253 (index_Prefer_PMINUB_for_stringop): Likewise.
5254 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
5255 bit_Prefer_PMINUB_for_stringop.
5256
5257 2011-07-19 Ulrich Drepper <drepper@gmail.com>
5258
5259 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
5260 buffer64.
5261 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
5262 of casting of buffer.
5263 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
5264 buffer32 and buffer64.
5265 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
5266 writes instead of casting of buffer.
5267 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
5268 buffer32.
5269 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
5270 casting of buffer.
5271
5272 2011-07-19 Andreas Schwab <schwab@redhat.com>
5273
5274 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
5275
5276 2011-07-19 Ulrich Drepper <drepper@gmail.com>
5277
5278 * nscd/nscd.c (termination_handler): Don't do anything for a database
5279 if it has not yet been initialized.
5280
5281 2011-07-18 Ulrich Drepper <drepper@gmail.com>
5282
5283 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
5284
5285 2011-07-15 Marek Polacek <mpolacek@redhat.com>
5286
5287 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
5288
5289 2011-07-18 Ulrich Drepper <drepper@gmail.com>
5290
5291 * po/nl.po: Update from translation team.
5292 * po/sv.po: Likewise.
5293
5294 2011-07-16 Roland McGrath <roland@hack.frob.com>
5295
5296 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
5297 now disallowed by GCC.
5298
5299 * configure.in (use-default-link): Default to yes if a test -shared
5300 link meets our qualifications.
5301 * configure: Regenerated.
5302
5303 * config.make.in (output-format): New variable.
5304 * configure.in: Check for ld --print-output-format support.
5305 * configure: Regenerated.
5306 * Makerules ($(common-objpfx)format.lds)
5307 [$(output-format) != unknown]: Just use $(output-format),
5308 instead of the linker-script munging.
5309
5310 2011-07-14 Roland McGrath <roland@hack.frob.com>
5311
5312 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
5313 of $(common-objpfx)shlib.lds.
5314 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
5315
5316 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
5317 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
5318
5319 * configure.in (-z relro check): Adjust test code to add a large
5320 writable data section after it.
5321 * configure: Regenerated.
5322
5323 2011-07-11 Roland McGrath <roland@hack.frob.com>
5324
5325 * configure.in (-z relro check): Fix test code to make the variable
5326 truly const.
5327 * configure: Regenerated.
5328
5329 2011-07-11 Ulrich Drepper <drepper@gmail.com>
5330
5331 * nscd/nscd.h (struct traced_file): Define.
5332 (struct database_dyn): Remove inotify_descr, reset_res, and filename
5333 elements. Add traced_files.
5334 (inotify_fd): Declare.
5335 (register_traced_file): Declare.
5336 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
5337 (inotify_fd): Export.
5338 (resolv_conf_descr): Remove.
5339 (nscd_init): Move inotify descriptor creation to main.
5340 Don't register files for notification here.
5341 (register_traced_file): New function.
5342 (invalidate_cache): Don't use reset_res to determine whether to call
5343 res_init, go through the list of registered files.
5344 (main_loop_poll): The inotify descriptors are now stored in the
5345 structures for the traced files.
5346 (main_loop_epoll): Likewise
5347 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
5348 to __nss_disable_nscd.
5349 * nscd/cache.c (prune_cache): There is no single inotify descriptor
5350 for a database anymore. Check the records for all the registered
5351 files instead.
5352 * nss/Makefile (libnss_files-routines): Add files-init.
5353 (libnss_db-routines): Add db-init.
5354 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
5355 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
5356 * nss/nss_db/db-init.c: New file.
5357 * nss/nss_files/files-init.c: New file.
5358 * nss/nsswitch.c (nss_load_library): New function. Broken out of
5359 __nss_lookup_function.
5360 (__nss_lookup_function): Call nss_load_library.
5361 (nss_load_all_libraries): New function.
5362 (__nss_disable_nscd): Take parameter with callback function for files
5363 to register. Set is_nscd. Load all the DSOs for the NSS modules
5364 used for the cached services.
5365 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
5366 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
5367 options for features to all the files in nscd.
5368
5369 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
5370
5371 2011-07-10 Roland McGrath <roland@hack.frob.com>
5372
5373 * csu/elf-init.c (__libc_csu_init): Comment typo.
5374
5375 2011-07-09 Ulrich Drepper <drepper@gmail.com>
5376
5377 * po/pl.po: Update from translation team.
5378 * po/ja.po: Likewise.
5379 * po/ru.po: Likewise.
5380 * po/ko.po: Likewise.
5381 * po/fr.po: Likewise.
5382
5383 2011-07-09 Roland McGrath <roland@hack.frob.com>
5384
5385 * configure.in (.ctors/.dtors header and trailer check):
5386 Use an empirical test on a built program.
5387 * configure: Regenerated.
5388
5389 * configure.in (-z relro check): Use an empirical test on a built DSO.
5390 Detect, but do not require, on ia64.
5391 * configure: Regenerated.
5392
5393 * configure.in (READELF): Find it with AC_CHECK_TOOL.
5394 Update tests that use readelf to use $READELF instead.
5395 * configure: Regenerated.
5396
5397 2011-07-08 Ulrich Drepper <drepper@gmail.com>
5398
5399 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
5400 if the result is not used.
5401
5402 2011-07-05 Andreas Jaeger <aj@suse.de>
5403
5404 [BZ#9696]
5405 * stdlib/tst-strtod.c: Add testcase.
5406
5407 2011-07-07 Ulrich Drepper <drepper@gmail.com>
5408
5409 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
5410 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
5411 The latter has a higher limit. Take additional parameter to pass to
5412 the new function.
5413 (__pathconf): Pass file to __statfs_link_max.
5414 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
5415 __statfs_link_max.
5416 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
5417 __statfs_link_max.
5418
5419 [BZ #12868]
5420 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
5421 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
5422 Handle Lustre.
5423 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
5424 (__statfs_filesize_max): Likewise.
5425 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
5426
5427 2011-07-05 Andreas Jaeger <aj@suse.de>
5428
5429 * resolv/res_comp.c (dn_skipname): Remove unused variable.
5430
5431 2011-07-06 Marek Polacek <mpolacek@redhat.com>
5432
5433 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
5434 `status' variable.
5435 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
5436 Likewise.
5437
5438 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
5439
5440 * Makefile (strop-tests): Add strncat.
5441 * string/test-strncat.c: New file.
5442
5443 2011-06-30 Marek Polacek <mpolacek@redhat.com>
5444
5445 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
5446
5447 2011-06-21 Andreas Jaeger <aj@suse.de>
5448
5449 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
5450 Copy rule from iconvdata/Makefile.
5451
5452 2011-07-06 Ulrich Drepper <drepper@gmail.com>
5453
5454 [BZ #12922]
5455 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
5456 but no long options are defined, just return 'W'.
5457
5458 2011-06-22 Marek Polacek <mpolacek@redhat.com>
5459
5460 [BZ #9696]
5461 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
5462
5463 2011-07-06 Ulrich Drepper <drepper@gmail.com>
5464
5465 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
5466 netgroups to read.
5467 (innetgr): Likewise.
5468
5469 2011-07-05 Roland McGrath <roland@hack.frob.com>
5470
5471 * config.make.in (install_root): Default to $(DESTDIR).
5472
5473 2011-07-05 Ulrich Drepper <drepper@gmail.com>
5474
5475 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
5476
5477 2011-07-02 Roland McGrath <roland@hack.frob.com>
5478
5479 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
5480
5481 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
5482 containing directory rather than embedding absolute directory names.
5483
5484 * scripts/check-local-headers.sh: Rewritten using awk.
5485 Match by word, not by line. Print error messages for matches.
5486 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
5487
5488 * Makerules [shlib-lds-flags empty]:
5489 ($(common-objpfx)libc_pic.opts): New target.
5490 ($(common-objpfx)libc_pic.os.clean): New target.
5491 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
5492
5493 * config.make.in (OBJCOPY): New variable.
5494 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
5495 * configure: Regenerated.
5496
5497 * config.make.in (use-default-link): New variable.
5498 * configure.in (use_default_link): Grok --with-default-link to set it.
5499 * configure: Regenerated.
5500 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
5501 (shlib-lds, shlib-lds-flags): Define to empty.
5502
5503 * Makerules (shlib-lds): New variable.
5504 (shlib-lds-flags): New variable.
5505 (build-shlib, build-moduile, build-module-asneeded): Use it.
5506 ($(common-objpfx)libc.so): Use $(shlib-lds).
5507 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
5508 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
5509
5510 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
5511 DT_FLAGS/DT_FLAGS_1 with zero flags.
5512
5513 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
5514 linker script munging.
5515
5516 2011-07-02 Ulrich Drepper <drepper@gmail.com>
5517
5518 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
5519 as 128-bit value.
5520 * crypt/sha512.c (sha512_process_block): Perform total addition using
5521 128-bit if possible.
5522 (__sha512_finish_ctx): Likewise.
5523 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
5524 as 64-bit value.
5525 * crypt/sha256.c (SWAP64): Define.
5526 (sha256_process_block): Perform total addition using 64-bit if
5527 possible.
5528 (__sha256_finish_ctx): Likewise.
5529
5530 2011-07-01 Ulrich Drepper <drepper@gmail.com>
5531
5532 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
5533 * nscd/initgrcache.c (addinitgroupsX): Likewise.
5534 * nscd/hstcache.c (cache_addhst): Likewise.
5535 * nscd/grpcache.c (cache_addgr): Likewise.
5536 * nscd/aicache.c (addhstaiX): Likewise
5537 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
5538
5539 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
5540
5541 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
5542 * nscd/initgrcache.c (addinitgroupsX): Likewise.
5543 * nscd/hstcache.c (cache_addhst): Likewise.
5544 * nscd/grpcache.c (cache_addgr): Likewise.
5545 * nscd/aicache.c (addhstaiX): Likewise
5546
5547 2011-07-01 Andreas Schwab <schwab@redhat.com>
5548
5549 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
5550 domain only when needed.
5551
5552 2011-06-30 Andreas Schwab <schwab@redhat.com>
5553
5554 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
5555 is always restored.
5556
5557 2011-06-29 Ulrich Drepper <drepper@gmail.com>
5558
5559 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
5560 are re-adding the entry.
5561 * nscd/servicescache.c (cache_addserv): Likewise.
5562
5563 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
5564
5565 * sysdeps/generic/dl-irel.h: fix protection against multiple
5566 inclusions.
5567 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
5568
5569 2011-06-28 Ulrich Drepper <drepper@gmail.com>
5570
5571 [BZ #12935]
5572 * malloc/memusage.sh: Fix quoting in message.
5573 * debug/xtrace.sh: Likewise.
5574
5575 * configure.in: Remove support for --experimental-malloc option, make
5576 it the default.
5577 * config.make.in: Likewise.
5578 * malloc/Makefile: Likewise.
5579
5580 2011-06-27 Andreas Schwab <schwab@redhat.com>
5581
5582 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
5583 two-byte characters.
5584
5585 2011-06-27 Roland McGrath <roland@hack.frob.com>
5586
5587 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
5588 AC_CACHE_CHECK invocation.
5589 * configure: Regenerated.
5590
5591 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
5592
5593 2011-06-27 Ulrich Drepper <drepper@gmail.com>
5594
5595 [BZ #12350]
5596 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
5597 bit from old_res_options.
5598
5599 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
5600
5601 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
5602 value type for setfct.
5603
5604 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
5605
5606 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
5607 __gettimeofday instead of gettimeofday.
5608
5609 2011-06-26 Ulrich Drepper <drepper@gmail.com>
5610
5611 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
5612
5613 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
5614
5615 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
5616
5617 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
5618 info.
5619
5620 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
5621
5622 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
5623 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
5624 strcpy-sse2-unaligned strncpy-sse2-unaligned
5625 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
5626 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
5627 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
5628 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
5629 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
5630 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
5631 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
5632 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
5633 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
5634 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
5635 (STRCPY): Support SSE2 and SSSE3 versions.
5636
5637 2011-06-24 Ulrich Drepper <drepper@gmail.com>
5638
5639 [BZ #12874]
5640 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
5641 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
5642 kernels which artificially limit size of requests.
5643
5644 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
5645
5646 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
5647 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
5648 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
5649 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
5650 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
5651 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
5652 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
5653 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
5654 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
5655 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
5656 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
5657 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
5658 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
5659 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
5660 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
5661 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5662 Enable unaligned load optimization for Intel Core i3, i5 and i7
5663 processors.
5664 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
5665 Define.
5666 (index_Fast_Unaligned_Load): Define.
5667 (HAS_FAST_UNALIGNED_LOAD): Define.
5668
5669 2011-06-23 Marek Polacek <mpolacek@redhat.com>
5670
5671 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
5672
5673 2011-06-22 Ulrich Drepper <drepper@gmail.com>
5674
5675 [BZ #12907]
5676 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
5677 until it is clear that the information is realy needed.
5678 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
5679
5680 2011-06-22 Andreas Schwab <schwab@redhat.com>
5681
5682 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
5683
5684 2011-06-22 Ulrich Drepper <drepper@gmail.com>
5685
5686 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
5687 /sys/devices/system/cpu/online if it is usable.
5688
5689 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
5690 reading the information from the /proc filesystem to once a second.
5691
5692 2011-06-21 Andreas Jaeger <aj@suse.de>
5693
5694 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
5695 NULL after inclusion of kernel headers.
5696
5697 2011-06-21 Ulrich Drepper <drepper@gmail.com>
5698
5699 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
5700 calls to internal_setent.
5701
5702 [BZ #12885]
5703 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
5704 addresses using gethostbyname4_r ignore IPv4 addresses.
5705
5706 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
5707 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
5708
5709 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
5710
5711 2011-06-20 David S. Miller <davem@davemloft.net>
5712
5713 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
5714 inclusions.
5715 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
5716
5717 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
5718 (elf_irel): Use it.
5719 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
5720 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
5721 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
5722 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
5723 * sysdeps/x86_64/dl-irel.h: Likewise.
5724
5725 * elf/dl-runtime.c: Use elf_ifunc_invoke.
5726 * elf/dl-sym.c: Likewise.
5727
5728 2011-06-15 Ulrich Drepper <drepper@gmail.com>
5729
5730 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
5731 need to dereference resplen2.
5732
5733 2011-06-14 Andreas Schwab <schwab@redhat.com>
5734
5735 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
5736
5737 2011-06-15 Ulrich Drepper <drepper@gmail.com>
5738
5739 * Makeconfig: Define vardbdir and inst_vardbdir.
5740 * nss/Makefile: Add rules to install db-Makefile.
5741
5742 * nss/nss_db/db-XXX.c: Cleanup.
5743
5744 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
5745 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
5746 GLIBC_PRIVATE.
5747 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
5748 * nss/makedb.c: Implement -g option to specify that value strings
5749 are generated and should not be added to table iterated over for
5750 get*ent calls.
5751 * nss/nss_db/db-initgroups.c: New file.
5752
5753 * nss/getent.c: Add support for initgroups lookups through getgrouplist
5754 interface.
5755
5756 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
5757 (internal_getgrouplist): Adjust to name change.
5758 Update use_initgroups_entry if this is not the first call.
5759 * nss/databases.def: Add initgroups entry.
5760
5761 * nss/makedb.c (compute_tables): Check result of multiple hash table
5762 sizes to minimize maximum chain length.
5763
5764 2011-06-14 Ulrich Drepper <drepper@gmail.com>
5765
5766 * Versions.def: Add entry for libnss_db.
5767 * shlib-versions: Likewise.
5768 * nss/Makefile: Add rules to build libnss_db.
5769 * nss/Versions: Add libnss_db information. Organize libnss_files
5770 entries better.
5771 * nss/db-Makefile: Add gshadow support. Change rules for the new
5772 makedb progra. Some minor improvements to generate smaller files.
5773 * nss/nss_db/nss_db.h: Move NSS database header data structures to
5774 here from...
5775 * nss/makedb.c: ...here.
5776 Improve database format to be smaller and require less memory at
5777 runtime.
5778 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
5779 db anymore.
5780 * nss/nss_db/db-netgrp.c: Likewise.
5781 * nss/nss_db/db-open.c: Likewise.
5782 * nss/nss_files/flies-XXX.x: Adjust comments.
5783 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
5784 * nss/nss_files/files-grp.c: Likewise.
5785 * nss/nss_files/files-hosts.c: Likewise.
5786 * nss/nss_files/files-network.c: Likewise.
5787 * nss/nss_files/files-proto.c: Likewise.
5788 * nss/nss_files/files-pwd.c: Likewise.
5789 * nss/nss_files/files-rpc.c: Likewise.
5790 * nss/nss_files/files-service.c: Likewise.
5791 * nss/nss_files/files-sgrp.c: Likewise.
5792 * nss/nss_files/files-spwd.c: Likewise.
5793 * nss/nss_db/db-alias.c: Removed.
5794 * nss/nss_db/dummy-db.h: Removed.
5795
5796 2011-06-02 Ulrich Drepper <drepper@gmail.com>
5797
5798 * nss/makedb.c: Rewritten to not use database library.
5799 * nss/Makefile: Update to build new makedb program.
5800
5801 2011-06-14 Andreas Jaeger <aj@suse.de>
5802
5803 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
5804 memset declaration.
5805
5806 2011-06-10 Andreas Schwab <schwab@redhat.com>
5807
5808 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
5809 tmpbuf.
5810
5811 2011-06-10 Roland McGrath <roland@hack.frob.com>
5812
5813 * Makerules (shlib.lds): Fail if the linker script comes out empty.
5814 * elf/Makefile ($(objpfx)ld.so): Likewise.
5815
5816 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
5817 Don't list ld.so twice in dependencies.
5818
5819 * posix/bug-regex31.c: Include <stdlib.h>.
5820
5821 * nscd/hstcache.c (cache_addhst): Remove unused variable.
5822
5823 * nis/nss_compat/compat-spwd.c
5824 (getspent_next_nss_netgr): Remove unused variable.
5825 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
5826
5827 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
5828 nonmembers" output to use the right array.
5829
5830 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
5831
5832 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
5833
5834 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
5835 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
5836 * catgets/gencat.c (read_input_file): Likewise.
5837 * locale/programs/locarchive.c (enlarge_archive): Likewise.
5838
5839 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
5840 variable definition inside #if's controlling its use.
5841
5842 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
5843
5844 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
5845
5846 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
5847
5848 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
5849 unreachable code.
5850
5851 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
5852
5853 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
5854 * configure: Regenerated.
5855
5856 * Makerules: Revert last change.
5857 * elf/Makefile: Likewise.
5858
5859 2011-06-09 Roland McGrath <roland@hack.frob.com>
5860
5861 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
5862 * elf/Makefile ($(objpfx)librtld.os): Likewise.
5863 (reloc-link): Likewise.
5864
5865 2011-06-09 Ulrich Drepper <drepper@gmail.com>
5866
5867 * elf/Makefile: Add rules to build pldd.
5868 * elf/pldd.c: New file.
5869 * elf/pldd-xx.c: New file.
5870
5871 2011-06-07 Ulrich Drepper <drepper@gmail.com>
5872
5873 * version.h: Update for 2.15 development version.
5874
5875 2011-06-07 David S. Miller <davem@davemloft.net>
5876
5877 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
5878 ifuncs.
5879 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
5880 elf_machine_lazy_rel): Likewise.
5881 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
5882 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
5883 elf_machine_lazy_rel): Likewise.
5884 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
5885 dl_hwcap via passed in argument.
5886 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
5887 Likewise.
5888
5889 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5890
5891 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
5892
5893 2011-06-06 Roland McGrath <roland@hack.frob.com>
5894
5895 [BZ #12849]
5896 * manual/fdl-1.1.texi: New file, verbatim from:
5897 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
5898 * manual/lgpl-2.1.texi: New file, verbatim from:
5899 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
5900 * manual/Makefile (licenses): New variable, list those new file names.
5901 (texis): Use it.
5902 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
5903
5904 * manual/fdl.texi: File removed.
5905 * manual/lesser.texi: File removed.
5906 * manual/libc.texinfo (Copying, Documentation License):
5907 Use new @include file names, put @appendix directive before @include.
5908
5909 2011-06-04 Jakub Jelinek <jakub@redhat.com>
5910
5911 [BZ #12841]
5912 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
5913 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
5914 (mq_open): Add __NTH.
5915
5916 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
5917
5918 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5919 Assume Intel Core i3/i5/i7 processor if AVX is available.
5920
5921 2011-05-31 Ulrich Drepper <drepper@gmail.com>
5922
5923 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
5924 typo.
5925
5926 2011-05-31 Andreas Schwab <schwab@redhat.com>
5927
5928 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
5929 memory. Use alloca_account. Fix memory leak when retrying.
5930
5931 2011-05-31 Ulrich Drepper <drepper@gmail.com>
5932
5933 * version.h (RELEASE): Bump for 2.14 release.
5934 * include/features.h (__GLIBC_MINOR__): Bump to 14.
5935
5936 * config.make.in (RANLIB): Remove entry.
5937
5938 2011-05-30 Ulrich Drepper <drepper@gmail.com>
5939
5940 * po/Makefile (po-sed-cmd): Add ksh to extensions.
5941 (libc.pot): Work around missing support for .ksh extension in xgettext.
5942
5943 [BZ #12684]
5944 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
5945 if both request failed.
5946 (send_dg): In case of server errors clear resplen or *resplen2.
5947
5948 [BZ #12454]
5949 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
5950 when there are multiple maps.
5951 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
5952 (_dl_fini): Remove test here.
5953
5954 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
5955
5956 2011-05-29 Ulrich Drepper <drepper@gmail.com>
5957
5958 [BZ #12350]
5959 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
5960 bit from old_res_options.
5961 (gaih_inet): Likewise.
5962
5963 [BZ #11099]
5964 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
5965 as signed.
5966
5967 * resolv/res_init.c (res_setoptions): Make the code more compact.
5968
5969 [BZ #11558]
5970 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
5971 set RES_USEVC.
5972
5973 [BZ #11634]
5974 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
5975
5976 * malloc/malloc.h: Mark malloc hook variables as deprecated.
5977
5978 [BZ #11781]
5979 * malloc/malloc.h: Declare malloc hook variables as volatile.
5980
5981 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
5982 in last patch.
5983
5984 [BZ #11799]
5985 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
5986 raise in the comment.
5987 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
5988 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
5989 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
5990
5991 2011-05-28 Ulrich Drepper <drepper@gmail.com>
5992
5993 [BZ #12811]
5994 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
5995 grow the buffers more if it already has to be sufficient.
5996 (build_wcs_upper_buffer): Likewise.
5997 * posix/regexec.c (check_matching): Likewise.
5998 (clean_state_log_if_needed): Likewise.
5999 (extend_buffers): Don't enlarge buffers beyond size of the input
6000 buffer.
6001 Patches mostly by Emil Wojak <emil@wojak.eu>.
6002 * posix/bug-regex32.c: New file.
6003 * posix/Makefile (tests): Add bug-regex32.
6004
6005 * locale/findlocale.c (_nl_find_locale): Return right away if
6006 _nl_explode_name failed.
6007 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
6008
6009 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
6010
6011 * debug/xtrace.sh: Unify messages.
6012 * malloc/memusage.sh: Likewise.
6013
6014 [BZ #12813]
6015 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
6016 time symbol from vDSO. Substitute with vsyscall if not available.
6017 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
6018 __vdso_time.
6019
6020 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
6021 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
6022 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
6023 Add sendmmsg and internal_sendmmsg.
6024 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
6025 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
6026 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
6027
6028 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
6029 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
6030 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
6031
6032 2011-05-27 Ulrich Drepper <drepper@gmail.com>
6033
6034 [BZ #12813]
6035 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
6036 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
6037 available.
6038 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
6039 __vdso_getcpu.
6040
6041 [BZ #12814]
6042 * iconvdata/Makefile (tests): Add bug-iconv9.
6043 * iconvdata/bug-iconv9.c: New file.
6044
6045 2011-05-27 Andreas Schwab <schwab@redhat.com>
6046
6047 [BZ #12814]
6048 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
6049
6050 2011-05-25 Jakub Jelinek <jakub@redhat.com>
6051
6052 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
6053 (struct user_regs_struct): Change intcs field back to cs.
6054
6055 2011-05-25 Ulrich Drepper <drepper@gmail.com>
6056
6057 * po/ja.po: Update from translation team.
6058
6059 2011-05-23 Ulrich Drepper <drepper@gmail.com>
6060
6061 [BZ #12795]
6062 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
6063 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
6064
6065 2011-05-20 Andreas Schwab <schwab@redhat.com>
6066
6067 * stdlib/longlong.h: Update from GCC.
6068
6069 2011-05-23 Andreas Schwab <schwab@redhat.com>
6070
6071 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
6072 parameter name.
6073 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
6074 Add parameter name.
6075 (__sysconf): Pass it down.
6076
6077 2011-05-22 Ulrich Drepper <drepper@gmail.com>
6078
6079 [BZ #12671]
6080 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
6081 some situations.
6082 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
6083 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
6084 add in in __libc_use_alloca calls. Adjust callers.
6085 (glob): Use malloc in some situations.
6086
6087 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
6088 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
6089 pltexit.
6090
6091 2011-05-21 Ulrich Drepper <drepper@gmail.com>
6092
6093 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
6094 and CLOCK_BOOTTIME_ALARM.
6095
6096 [BZ #12782]
6097 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
6098 is returned.
6099
6100 * string/_strerror.c (__strerror_r): Print negative errors as signed
6101 numbers.
6102
6103 [BZ #12777]
6104 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
6105 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
6106 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
6107
6108 * configure.in: Fix typo in redirection and correct removal of test
6109 files in two cases.
6110
6111 [BZ #12788]
6112 * locale/setlocale.c (new_composite_name): Fix test to check for
6113 identical name of all categories.
6114
6115 [BZ #12792]
6116 * libio/filedoalloc.c (local_isatty): New function.
6117 (_IO_file_doallocate): Use local_isatty.
6118 * stdio-common/perror.c (perror): In case a new stream is used
6119 forward the stream error.
6120 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
6121 error flag.
6122
6123 2011-05-20 Ulrich Drepper <drepper@gmail.com>
6124
6125 [BZ #11869]
6126 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
6127 alloca.
6128 * include/alloca.h (extend_alloca_account): Define.
6129
6130 [BZ #11857]
6131 * posix/regex.h: Fix comments with documentation of user-accessible
6132 fields after compilation and describe correct free'ing of pattern
6133 after re_compile_pattern.
6134 Patch by Reuben Thomas <rrt@sc3d.org>.
6135
6136 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
6137
6138 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
6139 and -mno-altivec to prevent the compiler from using Altivec and/or
6140 VSX instructions when the corresponding registers are not available.
6141
6142 2011-05-19 Andreas Schwab <schwab@redhat.com>
6143
6144 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
6145
6146 2011-05-19 Ulrich Drepper <drepper@gmail.com>
6147
6148 * libio/freopen.c (freopen): Use __dup2, not dup2.
6149 * libio/freopen64.c (freopen64): Likewise.
6150
6151 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
6152
6153 [BZ #12775]
6154 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
6155 * math/Makefile (tests): Add test-powl.
6156 (CFLAGS-test-powl.c): Define.
6157 * math/test-powl.c: New file.
6158
6159 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
6160
6161 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
6162
6163 2011-05-17 Ulrich Drepper <drepper@gmail.com>
6164
6165 [BZ #11837]
6166 * iconvdata/gb18030.c: Update to GB18020-2005.
6167
6168 2011-05-16 Ulrich Drepper <drepper@gmail.com>
6169
6170 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
6171 RE_SYNTAX_POSIX_AWK): Update to match recent development.
6172 Patch by Aharon Robbins <arnold@skeeve.com>.
6173
6174 [BZ #11892]
6175 * stdlib/putenv.c (putenv): Don't always create copy of the variable
6176 on the stack.
6177
6178 [BZ #11895]
6179 * misc/pselect.c (__pselect): Handle timeout value errors hidden
6180 through underflows.
6181
6182 [BZ #12766]
6183 * misc/error.c (error_at_line): Ensure file_name and old_file_name
6184 point to strings before performing equality test for error_one_per_line
6185 mode.
6186
6187 [BZ #11697]
6188 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
6189
6190 [BZ #11820]
6191 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
6192 (struct user_fpregs_struct): Avoid __uint*_t types.
6193
6194 [BZ #6420]
6195 * malloc/mtrace.c (tr_where): Add additional parameter to point to
6196 symbol info. Use it instead of calling _dl_addr locally.
6197 (lock_and_info): New function.
6198 (tr_freehook): Call lock_and_info and pass symbol info as additional
6199 parameter to tr_where.
6200 (tr_mallochook): Likewise.
6201 (tr_reallochook): Likewise.
6202 (tr_memalignhook): Likewise.
6203
6204 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
6205 used and couldn't be at all thread-safe.
6206
6207 2011-05-15 Ulrich Drepper <drepper@gmail.com>
6208
6209 * libio/freopen.c (freopen): Don't close old file descriptor
6210 before the new one is opened. Instead dup the new file descriptor
6211 to the old one after the new stream is created.
6212 * libio/freopen64.c (freopen64): Likewise.
6213 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
6214 * libio/fileops.c (_IO_new_file_close_it): Handle new
6215 _IO_FLAGS2_NOCLOSE flag.
6216 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
6217 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
6218 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
6219 _IO_FLAGS2_NOCLOSE flag.
6220 * include/unistd.h: Add hidden_proto for dup3.
6221 Define __have_dup3.
6222 * io/dup3.c: Define hidden symbol.
6223 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
6224
6225 [BZ #7101]
6226 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
6227 when an incomplete long option is used.
6228 * posix/tst-getopt_long1.c: New file.
6229 * posix/Makefile (tests): Add tst-getopt_long1.
6230
6231 [BZ #10138]
6232 * scripts/config.guess: Update from autoconf-2.68.
6233 * scripts/config.sub: Likewise.
6234
6235 [BZ #10157]
6236 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
6237 tests into ...
6238 (has_cpuclock): ...this. New function.
6239 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
6240 macro here based on has_cpuclock code.
6241
6242 [BZ #10149]
6243 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
6244 First byte (not low byte) is now always NUL.
6245 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
6246
6247 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
6248 Use non-cancelable interfaces.
6249
6250 [BZ #9809]
6251 * locale/iso-639.def: Add entry for Sorani.
6252
6253 [BZ #11901]
6254 * include/stdlib.h: Move include protection to the right place.
6255 Define abort_msg_s. Declare __abort_msg with it.
6256 * stdlib/abort.c (__abort_msg): Adjust type.
6257 * assert/assert.c (__assert_fail_base): New function. Majority
6258 of code from __assert_fail. Allocate memory for __abort_msg with
6259 mmap.
6260 (__assert_fail): Now call __assert_fail_base.
6261 * assert/assert-perr.c: Remove bulk of implementation. Use
6262 __assert_fail_base.
6263 * include/assert.hL Declare __assert_fail_base.
6264 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
6265 mmap.
6266 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
6267
6268 2011-05-14 Ulrich Drepper <drepper@gmail.com>
6269
6270 [BZ #11952]
6271 [BZ #12453]
6272 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
6273 until all modules are registered in the DTV.
6274 * elf/Makefile: Add rules to build and run tst-tls19.
6275 * elf/tst-tls19.c: New file.
6276 * elf/tst-tls19mod1.c: New file.
6277 * elf/tst-tls19mod2.c: New file.
6278 * elf/tst-tls19mod3.c: New file.
6279 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
6280
6281 [BZ #12083]
6282 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
6283 correctly.
6284
6285 [BZ #12601]
6286 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
6287 two-byte sequence errors.
6288 * iconvdata/Makefile (tests): Add bug-iconv8.
6289 * iconvdata/bug-iconv8.c: New file.
6290
6291 [BZ #12626]
6292 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
6293 buf2 definition.
6294
6295 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
6296
6297 [BZ #12432]
6298 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
6299 (dummy_getcfa): New function.
6300 (init): Get _Unwind_GetCFA address, use dummy if not found.
6301 (backtrace_helper): In recursion check, also check whether CFA changes.
6302 (__backtrace): Completely initialize arg.
6303
6304 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
6305 storing incomplete byte sequence in state object. Avoid testing for
6306 guaranteed too small input if we know there is enough data available.
6307
6308 2011-05-11 Andreas Schwab <schwab@redhat.com>
6309
6310 * Makeconfig (+link-pie): Indent.
6311 * Rules (binaries-pie): Define if $(have-fpie) and
6312 $(build-shared).
6313 (binaries-shared): Also filter out $(binaries-pie).
6314 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
6315 * nscd/Makefile (others-pie): Add nscd.
6316 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
6317 ($(objpfx)nscd): Remove command override.
6318 * login/Makefile (others-pie): Add pt_chown.
6319 ($(objpfx)pt_chown): Remove command override.
6320 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
6321 remove command overrides.
6322
6323 2011-05-13 Ulrich Drepper <drepper@gmail.com>
6324
6325 * libio/tst_putwc.c: Fix error messages.
6326
6327 [BZ #12724]
6328 * libio/fileops.c (_IO_new_file_close_it): Always flush when
6329 currently writing and seek to current position when not.
6330 * libio/Makefile (tests): Add bug-fclose1.
6331 * libio/bug-fclose1.c: New file.
6332
6333 2011-05-12 Ulrich Drepper <drepper@gmail.com>
6334
6335 [BZ #12511]
6336 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
6337 don't set DF_1_NODELETE here.
6338 (do_lookup_x): When entering new entry test for copy relocation
6339 and if necessary set DF_1_NODELETE flag.
6340 * elf/tst-unique4.cc: New file.
6341 * elf/tst-unique4.h: New file.
6342 * elf/tst-unique4lib.cc: New file.
6343 * elf/Makefile: Add rules to build and run tst-unique4.
6344 Patch by Piotr Bury <pbury@goahead.com>.
6345
6346 2011-05-11 Ulrich Drepper <drepper@gmail.com>
6347
6348 [BZ #12052]
6349 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
6350
6351 [BZ #12625]
6352 * misc/mntent_r.c (addmntent): Flush the stream after the output
6353
6354 [BZ #12393]
6355 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
6356 (is_trusted_path_normalize): Skip initial colon. Append slash
6357 to empty buffer. Duplicate is_trusted_path code but allow
6358 constructed patch to be prefix.
6359 (is_dst): Allow $ORIGIN followed by /.
6360 (_dl_dst_substitute): Correct clearing of check_for_trusted.
6361 Correct testing of result of is_trusted_path_normalize
6362 (decompose_rpath): Fix warning.
6363
6364 2011-05-10 Ulrich Drepper <drepper@gmail.com>
6365
6366 [BZ #11257]
6367 * grp/initgroups.c (internal_getgrouplist): When we found the service
6368 list through the initgroups entry in nsswitch.conf do not always
6369 continue on a successful lookup. Don't always use the
6370 __nss_group_database value if it is set.
6371 * nss/nsswitch.conf (initgroups): Change action for successful db
6372 lookup to continue for compatibility.
6373
6374 2011-05-09 Ulrich Drepper <drepper@gmail.com>
6375
6376 [BZ #11532]
6377 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
6378 and CP774 modules.
6379 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
6380 and CP774 modules.
6381 * iconvdata/tst-tables.sh: Likewise.
6382 * iconvdata/cp770.c: New file.
6383 * iconvdata/cp771.c: New file.
6384 * iconvdata/cp772.c: New file.
6385 * iconvdata/cp773.c: New file.
6386 * iconvdata/cp774.c: New file.
6387 * iconvdata/testdata/CP770: New file.
6388 * iconvdata/testdata/CP770..UTF8: New file.
6389 * iconvdata/testdata/CP771: New file.
6390 * iconvdata/testdata/CP771..UTF8: New file.
6391 * iconvdata/testdata/CP772: New file.
6392 * iconvdata/testdata/CP772..UTF8: New file.
6393 * iconvdata/testdata/CP773: New file.
6394 * iconvdata/testdata/CP773..UTF8: New file.
6395 * iconvdata/testdata/CP774: New file.
6396 * iconvdata/testdata/CP774..UTF8: New file.
6397
6398 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
6399 END CHARMAP line.
6400 * iconvdata/gen-8bit-gap.sh: Likewise.
6401 * iconvdata/gen-8bit.sh: Likewise.
6402
6403 * locale/iso-639.def: Add ary entry.
6404
6405 [BZ #11258]
6406 * locale/C-translit.h.in: Add U20A1 transliteration.
6407
6408 [BZ #12178]
6409 * locale/iso-639.def: Add wae entry.
6410 Patch by Kevin Bortis <bortis@translate-wae.ch>.
6411
6412 [BZ #12545]
6413 * locale/programs/localedef.c (construct_output_path): Use ssize_t
6414 for n.
6415
6416 [BZ #12711]
6417 * locale/C-translit.h.in: Add entry for U20B9.
6418 Patch by pravin.d.s@gmail.com.
6419
6420 2011-05-08 Ulrich Drepper <drepper@gmail.com>
6421
6422 [BZ #12713]
6423 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
6424 ENAMETOOLONG use generic getcwd.
6425 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
6426 in rtld. Use *stat64.
6427 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6428 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
6429 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6430 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
6431 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
6432 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
6433 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
6434 __fstatat64 macros.
6435 * include/dirent.h: Add libc_hidden_proto for rewinddir.
6436 * dirent/rewinddir.c: Add libc_hidden_def.
6437 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6438 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
6439
6440 * include/dirent.h (__alloc_dir): Add flags parameter.
6441 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
6442 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
6443 __alloc_dir.
6444 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
6445 from fdopendir if O_CLOEXEC is already set.
6446
6447 2011-03-15 Alan Modra <amodra@gmail.com>
6448
6449 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
6450 l_tls_firstbyte_offset non-zero. Save padding offset in
6451 l_tls_firstbyte_offset for later use.
6452 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
6453 freeing static tls block.
6454
6455 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
6456
6457 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
6458 where #ifdef was intended. The intent is to prevent ARG_MAX from
6459 being defined by the kernel headers.
6460
6461 2011-05-07 Ulrich Drepper <drepper@gmail.com>
6462
6463 [BZ #12734]
6464 * resolv/resolv.h: Define RES_NOTLDQUERY.
6465 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
6466 no-tld-query and set RES_NOTLDQUERY.
6467 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
6468 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
6469 modern BIND to search name as TLD unless forbidden.
6470
6471 2011-05-07 Petr Baudis <pasky@suse.cz>
6472 Ulrich Drepper <drepper@gmail.com>
6473
6474 [BZ #12393]
6475 * elf/dl-load.c (fillin_rpath): Move trusted path check...
6476 (is_trusted_path): ...to here.
6477 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
6478 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
6479 using is_trusted_path_normalize() in setuid scripts.
6480
6481 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
6482
6483 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
6484 __BEGIN/__END_DECLS.
6485
6486 2011-05-06 Ulrich Drepper <drepper@gmail.com>
6487
6488 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
6489 NSS_STATUS_NOTFOUND if no record was found.
6490
6491 2011-05-05 Andreas Schwab <schwab@redhat.com>
6492
6493 * sunrpc/Makefile (headers): Add rpc/netdb.h.
6494 (headers-not-in-tirpc): Remove rpc/netdb.h
6495 * resolv/netdb.h: Revert last change.
6496
6497 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
6498
6499 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
6500 circular dependency between libgcc.a and libc.a.
6501
6502 2011-05-05 Andreas Schwab <schwab@redhat.com>
6503
6504 * resolv/netdb.h: Don't include <rpc/netdb.h>.
6505 * nis/Makefile: Don't install rpcsvc/*.
6506 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
6507 instead of <rpc/types.h>.
6508 (MAXHOSTNAMELEN): Define.
6509
6510 2011-05-03 Andreas Schwab <schwab@redhat.com>
6511
6512 * elf/ldconfig.c (add_dir): Don't crash on empty path.
6513
6514 2011-04-28 Maciej Babinski <mbabinski@google.com>
6515
6516 [BZ #12714]
6517 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
6518 gethostbyname4_r when IPv6 results are possible.
6519
6520 2011-05-02 Ulrich Drepper <drepper@gmail.com>
6521
6522 [BZ #12723]
6523 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
6524 _PC_PIPE_BUF handling.
6525
6526 2011-04-30 Bruno Haible <bruno@clisp.org>
6527
6528 [BZ #12717]
6529 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
6530 * resolv/netdb.h (getnameinfo): Change type of flags parameter
6531 to 'int'.
6532 * inet/getnameinfo.c (getnameinfo): Likewise.
6533
6534 2011-04-29 Ulrich Drepper <drepper@gmail.com>
6535
6536 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
6537 to groups setting in database lookup.
6538 * nss/nsswitch.conf: Add initgroups entry.
6539
6540 2011-04-22 Ulrich Drepper <drepper@gmail.com>
6541
6542 [BZ #12685]
6543 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
6544 mode string.
6545 Patch by Eric Blake <eblake@redhat.com>.
6546
6547 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
6548
6549 * sunrpc/Makefile (need-export-routines): Add svc_run.
6550 (routines): Remove svc_run.
6551 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
6552 * sunrpc/clnt_perr.c (clnt_perrno): Export.
6553 * sunrpc/svc_run.c (svc_run): Likewise.
6554 * sunrpc/svc_udp.c (svcudp_create): Likewise.
6555
6556 2011-04-21 Ulrich Drepper <drepper@gmail.com>
6557
6558 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
6559 problem in reallocation in last patch.
6560
6561 2011-04-20 Ulrich Drepper <drepper@gmail.com>
6562
6563 * sunrpc/Makefile: Move inclusion of Rules.
6564
6565 2011-04-19 Ulrich Drepper <drepper@gmail.com>
6566
6567 * nss/nss_files/files-initgroups.c: New file.
6568 * nss/Makefile (libnss_files-routines): Add files-initgroups.
6569 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
6570 _nss_files_initgroups_dyn.
6571
6572 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
6573
6574 * elf/elf.h (R_ARM_IRELATIVE): Define.
6575
6576 2011-04-19 Ulrich Drepper <drepper@gmail.com>
6577
6578 * po/ru.po: Update from translation team.
6579
6580 2011-04-17 Ulrich Drepper <drepper@gmail.com>
6581
6582 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
6583 dependencies.
6584
6585 2011-02-06 Mike Frysinger <vapier@gentoo.org>
6586
6587 [BZ #12653]
6588 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
6589 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
6590 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
6591 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
6592 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
6593
6594 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
6595
6596 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
6597 differing bytes.
6598 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
6599 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
6600 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
6601
6602 2011-04-17 Ulrich Drepper <drepper@gmail.com>
6603
6604 [BZ #12420]
6605 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
6606 storing it.
6607 * stdlib/bug-getcontext.c: New file.
6608 * stdlib/Makefile: Add rules to build and run bug-getcontext.
6609
6610 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6611
6612 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
6613 instructions into .machine "z9-109".
6614 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
6615 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
6616
6617 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6618
6619 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
6620 between environment variables and auxiliary vector.
6621
6622 2011-04-16 Ulrich Drepper <drepper@gmail.com>
6623
6624 * Makefile: Add rules to build linkobj/libc.so.
6625 * include/libc-symbols.h: Define libc_hidden_nolink.
6626 * include/rpc/auth.h: Mark functions which are to be hidden.
6627 * include/rpc/auth_des.h: Likewise.
6628 * include/rpc/auth_unix.h: Likewise.
6629 * include/rpc/clnt.h: Likewise.
6630 * include/rpc/des_crypt.h: Likewise.
6631 * include/rpc/key_prot.h: Likewise.
6632 * include/rpc/pmap_clnt.h: Likewise.
6633 * include/rpc/pmap_prot.h: Likewise.
6634 * include/rpc/pmap_rmt.h: Likewise.
6635 * include/rpc/rpc_msg.h: Likewise.
6636 * include/rpc/svc.h: Likewise.
6637 * include/rpc/svc_auth.h: Likewise.
6638 * include/rpc/xdr.h: Likewise.
6639 * nis/Makefile: Link all DSOs against linkobj/libc.so.
6640 * nss/Makefile: Likewise.
6641 * sunrpc/Makefile: Don't install headers. Build library with normal
6642 entry points. Don't build rpcinfo. Link RPC tests appropriately.
6643 * sunrpc/auth_des.c: Hide exported symbols by default, export some
6644 for the compat linking library. Remove use of INTDEF/INTUSE.
6645 * sunrpc/auth_none.c: Likewise.
6646 * sunrpc/auth_unix.c: Likewise.
6647 * sunrpc/authdes_prot.c: Likewise.
6648 * sunrpc/authuxprot.c: Likewise.
6649 * sunrpc/clnt_gen.c: Likewise.
6650 * sunrpc/clnt_perr.c: Likewise.
6651 * sunrpc/clnt_raw.c: Likewise.
6652 * sunrpc/clnt_simp.c: Likewise.
6653 * sunrpc/clnt_tcp.c: Likewise.
6654 * sunrpc/clnt_udp.c: Likewise.
6655 * sunrpc/clnt_unix.c: Likewise.
6656 * sunrpc/des_crypt.c: Likewise.
6657 * sunrpc/des_soft.c: Likewise.
6658 * sunrpc/get_myaddr.c: Likewise.
6659 * sunrpc/key_call.c: Likewise.
6660 * sunrpc/key_prot.c: Likewise.
6661 * sunrpc/netname.c: Likewise.
6662 * sunrpc/pm_getmaps.c: Likewise.
6663 * sunrpc/pm_getport.c: Likewise.
6664 * sunrpc/pmap_clnt.c: Likewise.
6665 * sunrpc/pmap_prot.c: Likewise.
6666 * sunrpc/pmap_prot2.c: Likewise.
6667 * sunrpc/pmap_rmt.c: Likewise.
6668 * sunrpc/publickey.c: Likewise.
6669 * sunrpc/rpc_cmsg.c: Likewise.
6670 * sunrpc/rpc_common.c: Likewise.
6671 * sunrpc/rpc_dtable.c: Likewise.
6672 * sunrpc/rpc_prot.c: Likewise.
6673 * sunrpc/rpc_thread.c: Likewise.
6674 * sunrpc/rtime.c: Likewise.
6675 * sunrpc/svc.c: Likewise.
6676 * sunrpc/svc_auth.c: Likewise.
6677 * sunrpc/svc_authux.c: Likewise.
6678 * sunrpc/svc_raw.c: Likewise.
6679 * sunrpc/svc_run.c: Likewise.
6680 * sunrpc/svc_simple.c: Likewise.
6681 * sunrpc/svc_tcp.c: Likewise.
6682 * sunrpc/svc_udp.c: Likewise.
6683 * sunrpc/svc_unix.c: Likewise.
6684 * sunrpc/svcauth_des.c: Likewise.
6685 * sunrpc/xcrypt.c: Likewise.
6686 * sunrpc/xdr.c: Likewise.
6687 * sunrpc/xdr_array.c: Likewise.
6688 * sunrpc/xdr_float.c: Likewise.
6689 * sunrpc/xdr_intXX_t.c: Likewise.
6690 * sunrpc/xdr_mem.c: Likewise.
6691 * sunrpc/xdr_rec.c: Likewise.
6692 * sunrpc/xdr_ref.c: Likewise.
6693 * sunrpc/xdr_sizeof.c: Likewise.
6694 * sunrpc/xdr_stdio.c: Likewise.
6695
6696 2011-04-10 Ulrich Drepper <drepper@gmail.com>
6697
6698 [BZ #12650]
6699 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
6700 * sysdeps/ia64/dl-tls.h: Likewise.
6701 * sysdeps/powerpc/dl-tls.h: Likewise.
6702 * sysdeps/s390/dl-tls.h: Likewise.
6703 * sysdeps/sh/dl-tls.h: Likewise.
6704 * sysdeps/sparc/dl-tls.h: Likewise.
6705 * sysdeps/x86_64/dl-tls.h: Likewise.
6706 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
6707
6708 2011-03-14 Andreas Schwab <schwab@redhat.com>
6709
6710 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
6711 rpath element also skip the following colon.
6712 (expand_dynamic_string_token): Add is_path parameter and pass
6713 down to DL_DST_REQUIRED and _dl_dst_substitute.
6714 (decompose_rpath): Call expand_dynamic_string_token with
6715 non-zero is_path. Ignore empty rpaths.
6716 (_dl_map_object_from_fd): Call expand_dynamic_string_token
6717 with zero is_path.
6718
6719 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
6720
6721 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
6722 Make cancelable.
6723
6724 2011-04-09 Ulrich Drepper <drepper@gmail.com>
6725
6726 [BZ #12655]
6727 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
6728 Patch by Filipe David Manana <fdmanana@apache.org>.
6729
6730 2011-04-07 Andreas Schwab <schwab@redhat.com>
6731
6732 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
6733 Maintain aligned stack.
6734 (CHECK_RSP): Remove unused macro.
6735
6736 2011-04-03 Ulrich Drepper <drepper@gmail.com>
6737
6738 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
6739 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
6740
6741 2011-04-02 Ulrich Drepper <drepper@gmail.com>
6742
6743 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
6744
6745 * include/features.h: Mention __USE_XOPEN2K8 in comment.
6746
6747 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
6748
6749 [BZ #12518]
6750 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
6751 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
6752 * sysdeps/x86_64/memmove.c: New file.
6753 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
6754 (memcpy): Renamed to ...
6755 (__new_memcpy): This.
6756 (memcpy): Provide GLIBC_2_14 memcpy.
6757 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
6758 (memcpy): Provide GLIBC_2_2_5 memcpy.
6759
6760 2011-04-01 Ulrich Drepper <drepper@gmail.com>
6761
6762 [BZ #12631]
6763 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
6764
6765 2011-03-30 Andreas Schwab <schwab@redhat.com>
6766
6767 * misc/syncfs.c: New file.
6768 * misc/Makefile (routines): Add syncfs.
6769 * posix/unistd.h: Declare syncfs.
6770 * sysdeps/unix/syscalls.list: Add syncfs.
6771
6772 2011-04-01 Andreas Schwab <schwab@redhat.com>
6773
6774 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
6775 open_by_handle_at.
6776 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
6777 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
6778 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
6779 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
6780 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
6781 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
6782 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
6783
6784 2011-04-01 Ulrich Drepper <drepper@gmail.com>
6785
6786 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
6787 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
6788 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
6789 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
6790 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
6791 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
6792 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
6793
6794 * io/Makefile: Compile fallocate.c, fallocate64.c, and
6795 sync_file_range.c with -fexceptions.
6796 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
6797 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
6798 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
6799 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
6800 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
6801 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
6802 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
6803 sync_file_range as cancellation point
6804 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
6805 now a wrapper around __call_sync_file_range with cancellation handling.
6806 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
6807 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
6808 function name to __call_sync_file_range.
6809 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
6810 Add call_sync_file_range.
6811
6812 2011-04-01 Andreas Schwab <schwab@redhat.com>
6813
6814 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6815 bits/timex.h.
6816
6817 2011-04-01 Ulrich Drepper <drepper@gmail.com>
6818
6819 * iconv/iconv.h: Fix typo in comment.
6820 * io/fcntl.h: Likewise.
6821 * libio/stdio.h: Likewise.
6822 * posix/spawn.h: Likewise.
6823 * posix/unistd.h: Likewise.
6824 * stdlib/stdlib.h: Likewise.
6825 * time/time.h: Likewise.
6826 * wcsmbs/wchar.h: Likewise.
6827
6828 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
6829 open_by_handle): Add.
6830 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
6831 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
6832 Augment a few comments.
6833 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
6834 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
6835 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
6836 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
6837 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
6838 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
6839 open_by_handle.
6840
6841 * io/fcntl.h (AT_EMPTY_PATH): Define.
6842
6843 2011-03-30 Ulrich Drepper <drepper@gmail.com>
6844
6845 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
6846 * sysdeps/unix/sysv/linux/bits/time.h: New file.
6847 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
6848 to...
6849 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
6850 * Versions.def: Add GLIBC_2.14.
6851 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
6852 Export.
6853
6854 2011-03-22 Ulrich Drepper <drepper@gmail.com>
6855
6856 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
6857 round counter.
6858 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
6859
6860 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
6861
6862 [BZ #12597]
6863 * string/test-strncmp.c (do_page_test): New function.
6864 (check2): Likewise.
6865 (test_main): Call check2.
6866 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
6867
6868 2011-03-20 Ulrich Drepper <drepper@gmail.com>
6869
6870 [BZ #12587]
6871 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
6872 Handle cache information in CPU leaf 4.
6873 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
6874
6875 2011-03-18 Ulrich Drepper <drepper@gmail.com>
6876
6877 [BZ #12583]
6878 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
6879 character representation.
6880 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
6881
6882 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
6883
6884 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
6885 END(__isnan) to END(__isnanf) to match function entry point/label
6886 EALIGN(__isnanf,...).
6887
6888 2011-03-10 Jakub Jelinek <jakub@redhat.com>
6889
6890 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
6891
6892 2011-03-10 Ulrich Drepper <drepper@gmail.com>
6893
6894 [BZ #12510]
6895 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
6896 copy from the symbol referenced in the relocation to initialize the
6897 used variable.
6898 Patch by Piotr Bury <pbury@goahead.com>.
6899 * elf/Makefile: Add rules to build and tst-unique3.
6900 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
6901 * elf/tst-unique3.cc: New file.
6902 * elf/tst-unique3.h: New file.
6903 * elf/tst-unique3lib.cc: New file.
6904 * elf/tst-unique3lib2.cc: New file.
6905
6906 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
6907
6908 2011-03-10 Mike Frysinger <vapier@gentoo.org>
6909
6910 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
6911 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
6912 to _start.
6913
6914 2011-03-06 Ulrich Drepper <drepper@gmail.com>
6915
6916 * elf/dl-load.c (_dl_map_object): If we are looking for the first
6917 to-be-loaded object along a path to loader is ld.so.
6918
6919 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
6920 Ulrich Drepper <drepper@gmail.com>
6921
6922 * sysdeps/x86_64/memset.S: After aligning destination, code
6923 branches to different locations depending on the value of
6924 misalignment, when multiarch is enabled. Fix this.
6925
6926 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
6927
6928 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
6929 Set _x86_64_preferred_memory_instruction for AMD processsors.
6930 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6931 Set bit_Prefer_SSE_for_memop for AMD processors.
6932
6933 2011-03-04 Ulrich Drepper <drepper@gmail.com>
6934
6935 * libio/fmemopen.c (fmemopen): Optimize a bit.
6936
6937 2011-03-03 Andreas Schwab <schwab@redhat.com>
6938
6939 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
6940
6941 2011-03-03 Roland McGrath <roland@redhat.com>
6942
6943 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
6944
6945 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
6946
6947 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
6948 __bzero_ultra1 instead of __memset_ultra1.
6949
6950 2011-02-23 Andreas Schwab <schwab@redhat.com>
6951 Ulrich Drepper <drepper@gmail.com>
6952
6953 [BZ #12509]
6954 * include/link.h (struct link_map): Add l_orig_initfini.
6955 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
6956 returning unsuccessfully.
6957 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
6958 close of a file loaded at startup, restore the original l_initfini
6959 list.
6960 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
6961 list, store the pointer.
6962 * elf/Makefile ($(objpfx)noload-mem): New rule.
6963 (noload-ENV): Define.
6964 (tests): Add $(objpfx)noload-mem.
6965 * elf/noload.c: Include <memcheck.h>.
6966 (main): Call mtrace. Close all opened handles.
6967
6968 2011-02-17 Andreas Schwab <schwab@redhat.com>
6969
6970 [BZ #12454]
6971 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
6972 dependencies are missing.
6973
6974 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
6975
6976 Fix __if_freereq crash: Unlike the generic version which uses free,
6977 Hurd needs munmap.
6978 * sysdeps/mach/hurd/ifreq.h: New file.
6979
6980 2011-01-27 Petr Baudis <pasky@suse.cz>
6981 Ulrich Drepper <drepper@gmail.com>
6982
6983 [BZ 12445]#
6984 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
6985 to extend_alloca().
6986 * stdio-common/bug23.c: New file.
6987 * stdio-common/Makefile (tests): Add bug23.
6988
6989 2010-09-28 Andreas Schwab <schwab@redhat.com>
6990 Ulrich Drepper <drepper@gmail.com>
6991
6992 [BZ #12489]
6993 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
6994 before performing relro protection. At old place add assertion
6995 to make sure nothing changed.
6996
6997 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
6998 Glauber de Oliveira Costa <glommer@gmail.com>
6999
7000 * elf/elf.h: Add new ARM TLS relocs.
7001
7002 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
7003
7004 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
7005 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
7006 cast from r3.
7007 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
7008 'tests' variable.
7009 * sysdeps/wordsize-64/tst-writev.c: New file.
7010
7011 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
7012
7013 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
7014 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
7015 insns in _dl_start to prevent a TOC reference before relocs are
7016 resolved.
7017
7018 2011-02-15 Ulrich Drepper <drepper@gmail.com>
7019
7020 [BZ #12469]
7021 * Makeconfig: Remove RANLIB definition.
7022 * Makerules: Don't use RANLIB.
7023 * aclocal.m4: Remove ranlib test.
7024 * configure.in: No need to check for ranlib.
7025 * elf/rtld-Rules: Don't use RANLIB.
7026
7027 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
7028
7029 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
7030 protection macro.
7031 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
7032 inclusion protection macro.
7033
7034 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
7035 SIGRTMIN and SIGRTMAX and print information in that case only when
7036 SIGRTMIN is defined.
7037
7038 2011-02-11 Jakub Jelinek <jakub@redhat.com>
7039
7040 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
7041 arginfo fn returning -1.
7042
7043 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
7044 and thousands string is zero terminated.
7045
7046 2011-02-03 Andreas Schwab <schwab@redhat.com>
7047
7048 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
7049 sysdeps/unix/sysv/linux/bits/socket.h.
7050
7051 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
7052
7053 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
7054 (__CPU_COUNT): Remove old macros.
7055 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
7056 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
7057 (__CPU_ALLOC, __CPU_FREE): Add macros.
7058 (__sched_cpualloc, __sched_cpufree): Add declarations.
7059
7060 2011-02-05 Ulrich Drepper <drepper@gmail.com>
7061
7062 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
7063 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
7064 * nscd/aicache.c (addhstaiX): Return timeout of added value.
7065 (readdhstai): Return value of addhstaiX call.
7066 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
7067 (addgrbyX): Return value returned by cache_addgr.
7068 (readdgrbyname): Return value returned by addgrbyX.
7069 (readdgrbygid): Likewise.
7070 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
7071 (addpwbyX): Return value returned by cache_addpw.
7072 (readdpwbyname): Return value returned by addhstbyX.
7073 (readdpwbyuid): Likewise.
7074 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
7075 (addservbyX): Return value returned by cache_addserv.
7076 (readdservbyname): Return value returned by addservbyX:
7077 (readdservbyport): Likewise.
7078 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
7079 (addhstbyX): Return value returned by cache_addhst.
7080 (readdhstbyname): Return value returned by addhstbyX.
7081 (readdhstbyaddr): Likewise.
7082 (readdhstbynamev6): Likewise.
7083 (readdhstbyaddrv6): Likewise.
7084 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
7085 (readdinitgroups): Return value returned by addinitgroupsX.
7086 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
7087 (prune_cache): Keep track of timeout value of re-added entries.
7088 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
7089 * nscd/nscd.h: Adjust prototypes of readd* functions.
7090
7091 2011-02-04 Roland McGrath <roland@redhat.com>
7092
7093 * nis/nis_server.c (nis_servstate): Use the right name for 0.
7094 (nis_stats): Likewise.
7095 * nis/nis_modify.c (nis_modify): Likewise.
7096 * nis/nis_remove.c (nis_remove): Likewise.
7097 * nis/nis_add.c (nis_add): Likewise.
7098
7099 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
7100
7101 * posix/fnmatch_loop.c: Add some consts.
7102
7103 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
7104
7105 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
7106
7107 [BZ #12460]
7108 * config.make.in (config-cflags-novzeroupper): Define.
7109 * configure.in: Substitute libc_cv_cc_novzeroupper.
7110 * elf/Makefile (AVX-CFLAGS): Define.
7111 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
7112 (CFLAGS-tst-auditmod4a.c): Likewise.
7113 (CFLAGS-tst-auditmod4b.c): Likewise.
7114 (CFLAGS-tst-auditmod6b.c): Likewise.
7115 (CFLAGS-tst-auditmod6c.c): Likewise.
7116 (CFLAGS-tst-auditmod7b.c): Likewise.
7117 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
7118
7119 2011-02-02 Ulrich Drepper <drepper@gmail.com>
7120
7121 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
7122 function to the callback.
7123 Patch partly by Jiri Olsa <jolsa@redhat.com>.
7124
7125 2011-02-02 Andreas Schwab <schwab@redhat.com>
7126
7127 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
7128 of errno.
7129
7130 2011-01-19 Ulrich Drepper <drepper@gmail.com>
7131
7132 [BZ #11724]
7133 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
7134 of constructors.
7135 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
7136 of destructors.
7137 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
7138
7139 [BZ #11724]
7140 * elf/Makefile: Add rules to build and run new test.
7141 * elf/tst-initorder.c: New file.
7142 * elf/tst-initorder.exp: New file.
7143 * elf/tst-initordera1.c: New file.
7144 * elf/tst-initordera2.c: New file.
7145 * elf/tst-initordera3.c: New file.
7146 * elf/tst-initordera4.c: New file.
7147 * elf/tst-initorderb1.c: New file.
7148 * elf/tst-initorderb2.c: New file.
7149 * elf/tst-order-a1.c: New file.
7150 * elf/tst-order-a2.c: New file.
7151 * elf/tst-order-a3.c: New file.
7152 * elf/tst-order-a4.c: New file.
7153 * elf/tst-order-b1.c: New file.
7154 * elf/tst-order-b2.c: New file.
7155 * elf/tst-order-main.c: New file.
7156 New test case by George Gensure <werkt0@gmail.com>.
7157
7158 2010-10-01 Andreas Schwab <schwab@redhat.com>
7159
7160 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
7161 decoding ACE if AI_CANONIDN.
7162
7163 2011-01-18 Ulrich Drepper <drepper@gmail.com>
7164
7165 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
7166
7167 2011-01-17 Ulrich Drepper <drepper@gmail.com>
7168
7169 * version.h (RELEASE): Bump for 2.13 release.
7170 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
7171
7172 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
7173
7174 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
7175 MADV_NOHUGEPAGE.
7176 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
7177 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
7178 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
7179 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
7180 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
7181 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
7182
7183 * posix/getconf.c: Update copyright year.
7184 * catgets/gencat.c: Likewise.
7185 * csu/version.c: Likewise.
7186 * debug/catchsegv.sh: Likewise.
7187 * debug/xtrace.sh: Likewise.
7188 * elf/ldconfig.c: Likewise.
7189 * elf/ldd.bash.in: Likewise.
7190 * elf/sprof.c (print_version): Likewise.
7191 * iconv/iconv_prog.c: Likewise.
7192 * iconv/iconvconfig.c: Likewise.
7193 * locale/programs/locale.c: Likewise.
7194 * locale/programs/localedef.c: Likewise.
7195 * malloc/memusage.sh: Likewise.
7196 * malloc/mtrace.pl: Likewise.
7197 * nscd/nscd.c (print_version): Likewise.
7198 * nss/getent.c: Likewise.
7199
7200 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
7201 PF_CAIF, and PF_ALG.
7202 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
7203
7204 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
7205
7206 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
7207 (modules-names): Use them.
7208 (ifunc-test-modules, ifunc-pie-tests): Define.
7209 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
7210 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
7211 (test-extras): Likewise.
7212 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
7213 $(compile-command.c).
7214 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
7215 (all-built-dso): Define.
7216 (check-textrel.out, check-execstack.out): Depend on it.
7217
7218 * configure.in: Don't override --enable-multi-arch.
7219
7220 2011-01-15 Ulrich Drepper <drepper@gmail.com>
7221
7222 [BZ #6812]
7223 * nscd/hstcache.c (tryagain): Define.
7224 (cache_addhst): Return tryagain not notfound for temporary errors.
7225 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
7226 failed.
7227
7228 2011-01-14 Ulrich Drepper <drepper@gmail.com>
7229
7230 [BZ #10563]
7231 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
7232 to make the syscall.
7233 * sysdeps/unix/sysv/linux/setgroups.c: New file.
7234
7235 [BZ #12378]
7236 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
7237 and fall back to matching as normal character if the string ends before
7238 the matching ']' is found. This is what POSIX requires.
7239 * posix/testfnm.c: Adjust test result.
7240 * posix/globtest.sh: Adjust test result. Add new test.
7241 * posix/tst-fnmatch.input: Likewise.
7242 * posix/tst-fnmatch2.c: Add new test.
7243
7244 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
7245
7246 * elf/Makefile (check-execstack): Revert last change. Depend on
7247 check-execstack.h.
7248 (check-execstack.h): New target.
7249 (generated): Add check-execstack.h.
7250 * elf/check-execstack.c: Include "check-execstack.h".
7251 (main): Revert last change.
7252 (handle_file): Return zero if GNU_STACK is absent and
7253 DEFAULT_STACK_PERMS doesn't include PF_X.
7254
7255 2011-01-13 Ulrich Drepper <drepper@gmail.com>
7256
7257 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
7258 in child fails because the descriptor is already closed.
7259 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
7260 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
7261 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
7262
7263 [BZ #12397]
7264 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
7265 syscall.
7266
7267 [BZ #10484]
7268 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
7269 temporary buffer used to handle multi lookups locally.
7270 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
7271
7272 2011-01-12 Ulrich Drepper <drepper@gmail.com>
7273
7274 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
7275 loader is ld.so.
7276
7277 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
7278
7279 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
7280 alignment for SSE2.
7281
7282 2011-01-12 Ulrich Drepper <drepper@gmail.com>
7283
7284 [BZ #12394]
7285 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
7286 characters. When rounding increased number of integer digits recompute
7287 number of groups.
7288 * stdio-common/tst-grouping.c: New file.
7289 * stdio-common/Makefile: Add rules to build and run tst-grouping.
7290
7291 2011-01-09 Ulrich Drepper <drepper@gmail.com>
7292
7293 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
7294 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
7295
7296 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
7297 void.
7298 * bits/select.h: Likewise.
7299
7300 2011-01-08 Ulrich Drepper <drepper@gmail.com>
7301
7302 * po/ja.po: Update from translation team.
7303
7304 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
7305
7306 [BZ #11155]
7307 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
7308 implementation just like for lxstat, fxstatat, et al.
7309
7310 2010-12-27 Jim Meyering <meyering@redhat.com>
7311
7312 [BZ #12348]
7313 * posix/regexec.c (build_trtable): Return failure indication upon
7314 calloc failure. Otherwise, re_search_internal could infloop on OOM.
7315
7316 2010-12-25 Ulrich Drepper <drepper@gmail.com>
7317
7318 [BZ #12201]
7319 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
7320 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
7321 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
7322 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
7323
7324 [BZ #12207]
7325 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
7326
7327 [BZ #12204]
7328 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
7329 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
7330
7331 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
7332
7333 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
7334 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
7335 script has SORT_BY_INIT_PRIORITY.
7336 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
7337 NO_CTORS_DTORS_SECTIONS is defined.
7338 * elf/soinit.c: Likewise.
7339 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
7340 NO_CTORS_DTORS_SECTIONS is defined.
7341 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
7342 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
7343 * sysdeps/sh/init-first.c: Likewise.
7344 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
7345
7346 2010-12-24 Ulrich Drepper <drepper@gmail.com>
7347
7348 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
7349 always use the slow path.
7350
7351 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
7352
7353 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
7354 similar rule which adds the sysdep directories to the header search in
7355 order to pick up the correct platform stackinfo.h.
7356 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
7357 perform test if it is, otherwise return successfully without testing.
7358 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
7359 DEFAULT_STACK_PERMS define in stackinfo.h.
7360 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
7361 defined in stackinfo.h.
7362 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
7363 DEFAULT_STACK_PERMS defined in stackinfo.h.
7364 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
7365 * sysdeps/ia64/stackinfo.h: Likewise.
7366 * sysdeps/s390/stackinfo.h: Likewise.
7367 * sysdeps/sh/stackinfo.h: Likewise.
7368 * sysdeps/sparc/stackinfo.h: Likewise.
7369 * sysdeps/x86_64/stackinfo.h: Likewise.
7370 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
7371 PF_X for powerpc64. Retain PF_X for powerpc32.
7372
7373 2010-12-19 Ulrich Drepper <drepper@gmail.com>
7374
7375 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
7376 accurately.
7377 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
7378 GETDENTS_64BIT_ALIGNED.
7379
7380 2010-12-14 Ulrich Drepper <dreper@gmail.com>
7381
7382 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
7383
7384 2010-12-10 Andreas Schwab <schwab@redhat.com>
7385
7386 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
7387 _GNU_SOURCE.
7388
7389 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
7390 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
7391 Remove __restrict.
7392 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
7393 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
7394
7395 2010-12-09 Ulrich Drepper <drepper@gmail.com>
7396
7397 [BZ #11655]
7398 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
7399 are initialized.
7400
7401 2010-12-09 Jakub Jelinek <jakub@redhat.com>
7402
7403 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
7404
7405 2010-12-03 Ulrich Drepper <drepper@gmail.com>
7406
7407 * po/it.po: Update from translation team.
7408
7409 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
7410
7411 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
7412 unused codes.
7413
7414 2010-11-30 Ulrich Drepper <drepper@gmail.com>
7415
7416 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
7417
7418 2010-11-24 Andreas Schwab <schwab@redhat.com>
7419
7420 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
7421 specially.
7422 (gaih_getanswer_slice): Likewise.
7423
7424 2010-10-20 Jakub Jelinek <jakub@redhat.com>
7425
7426 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
7427
7428 2010-05-31 Petr Baudis <pasky@suse.cz>
7429
7430 [BZ #11149]
7431 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
7432 silently even in the chroot mode.
7433
7434 2010-11-22 Ulrich Drepper <drepper@gmail.com>
7435
7436 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
7437 last patch a bit. Pretty printing
7438
7439 2010-05-31 Petr Baudis <pasky@suse.cz>
7440
7441 [BZ #10085]
7442 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
7443 initialization of skip_initgroups_dyn.
7444
7445 2010-11-19 Ulrich Drepper <drepper@gmail.com>
7446
7447 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
7448 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
7449
7450 2010-11-16 Ulrich Drepper <drepper@gmail.com>
7451
7452 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
7453
7454 2010-11-11 Andreas Schwab <schwab@redhat.com>
7455
7456 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
7457 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
7458 (tst-fnmatch-ENV): Set MALLOC_TRACE.
7459 ($(objpfx)tst-fnmatch-mem): New rule.
7460 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
7461 * posix/tst-fnmatch.c (main): Call mtrace.
7462
7463 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
7464
7465 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7466 Support Intel processor model 6 and model 0x2c.
7467
7468 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
7469
7470 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
7471 signed comparison.
7472
7473 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
7474
7475 [BZ #12205]
7476 * string/test-strncasecmp.c (check_result): New function.
7477 (do_one_test): Use it.
7478 (check1): New function.
7479 (test_main): Use it.
7480 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
7481 Support strcasecmp and strncasecmp.
7482
7483 2010-11-08 Ulrich Drepper <drepper@gmail.com>
7484
7485 [BZ #12194]
7486 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
7487 * sysdeps/x86_64/bits/byteswap.h: Likewise.
7488
7489 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
7490
7491 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
7492 IFUNC support.
7493 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7494 memset-x86-64.
7495 * sysdeps/x86_64/multiarch/bzero.S: New file.
7496 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
7497 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
7498 * sysdeps/x86_64/multiarch/memset.S: New file.
7499 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
7500 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7501 Set bit_Prefer_SSE_for_memop for Intel processors.
7502 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
7503 Define.
7504 (index_Prefer_SSE_for_memop): Define.
7505 (HAS_PREFER_SSE_FOR_MEMOP): Define.
7506
7507 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
7508
7509 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
7510 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
7511
7512 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
7513
7514 [BZ #12191]
7515 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
7516 (__x86_64_raw_data_cache_size_half): Likewise.
7517 (__x86_64_raw_shared_cache_size): Likewise.
7518 (__x86_64_raw_shared_cache_size_half): Likewise.
7519
7520 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
7521 (__x86_64_raw_data_cache_size_half): Likewise.
7522 (__x86_64_raw_shared_cache_size): Likewise.
7523 (__x86_64_raw_shared_cache_size_half): Likewise.
7524 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
7525 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
7526 and __x86_64_raw_shared_cache_size_half. Round
7527 __x86_64_data_cache_size_half, __x86_64_data_cache_size
7528 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
7529 to multiple of 256 bytes.
7530
7531 2010-11-03 Ulrich Drepper <drepper@gmail.com>
7532
7533 [BZ #12167]
7534 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
7535 of inacessible symlinks. Verify result of symlink before returning it.
7536 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
7537 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
7538
7539 2010-10-28 Erich Ritz <erichritz@gmail.com>
7540
7541 * math/math.h (isinf): Fix typo in comment.
7542
7543 2010-11-01 Ulrich Drepper <drepper@gmail.com>
7544
7545 * po/da.po: Update from translation team.
7546
7547 2010-10-26 Ulrich Drepper <drepper@gmail.com>
7548
7549 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
7550 is added to the list.
7551
7552 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7553 Ulrich Drepper <drepper@gmail.com>
7554
7555 * elf/dl-object.c (_dl_new_object): Don't append the new object to
7556 the global list here. Move code to...
7557 (_dl_add_to_namespace_list): ...here. New function.
7558 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
7559 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
7560 * elf/dl-load.c (lose): Don't remove the element from the list.
7561 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
7562 (_dl_map_object): Likewise.
7563
7564 2010-10-25 Ulrich Drepper <drepper@gmail.com>
7565
7566 [BZ #12159]
7567 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
7568 into all bytes of SSE register.
7569 Patch by Richard Li <richardpku@gmail.com>.
7570
7571 2010-10-24 Ulrich Drepper <drepper@gmail.com>
7572
7573 [BZ #12140]
7574 * malloc/malloc.c (_int_free): Fill correct number of bytes when
7575 perturbing.
7576
7577 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
7578
7579 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
7580 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
7581 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
7582 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
7583 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
7584 submachine.
7585 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
7586
7587 2010-10-22 Andreas Schwab <schwab@redhat.com>
7588
7589 * include/dlfcn.h (__RTLD_SECURE): Define.
7590 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
7591 mode & __RTLD_SECURE instead.
7592 (open_path): Rename preloaded parameter to secure.
7593 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
7594 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
7595 * elf/dl-deps.c (openaux): Likewise.
7596 * elf/rtld.c (struct map_args): Remove is_preloaded.
7597 (map_doit): Don't use it.
7598 (dl_main): Likewise.
7599 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
7600 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
7601
7602 2010-09-09 Andreas Schwab <schwab@redhat.com>
7603
7604 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
7605 (sysd-rules-targets): Remove duplicates.
7606 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
7607 rtld-%.$o dependency.
7608
7609 2010-10-18 Andreas Schwab <schwab@redhat.com>
7610
7611 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
7612 _dl_map_object do it.
7613
7614 2010-10-19 Ulrich Drepper <drepper@gmail.com>
7615
7616 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
7617 fast fma builtins, define the macros in the C99 standard.
7618 (FP_FAST_FMAF): Likewise.
7619 (FP_FAST_FMAL): Likewise.
7620 * sysdeps/x86_64/bits/mathdef.h: Likewise.
7621
7622 * bits/mathdef.h: Update copyright year.
7623 * sysdeps/powerpc/bits/mathdef.h: Likewise.
7624
7625 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
7626
7627 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
7628 builtins, define the macros in the C99 standard.
7629 (FP_FAST_FMAF): Likewise.
7630 (FP_FAST_FMAL): Likewise.
7631 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
7632 multiply/add.
7633 (FP_FAST_FMAF): Likewise.
7634
7635 2010-10-15 Jakub Jelinek <jakub@redhat.com>
7636
7637 [BZ #3268]
7638 * math/libm-test.inc (fma_test): Some new testcases.
7639 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
7640 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
7641 y and infinite z. Do multiplication by C already in long double.
7642 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
7643 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
7644 y and infinite z. Do bitwise or of inexact bit into u.d.
7645 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
7646 * sysdeps/i386/fpu/s_fmaf.S: Removed.
7647 * sysdeps/i386/fpu/s_fma.S: Removed.
7648 * sysdeps/i386/fpu/s_fmal.S: Removed.
7649
7650 2010-10-16 Jakub Jelinek <jakub@redhat.com>
7651
7652 [BZ #3268]
7653 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
7654 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
7655 computation is not scheduled after fetestexcept. Fix value
7656 of minimum denormal long double.
7657
7658 2010-10-14 Jakub Jelinek <jakub@redhat.com>
7659
7660 [BZ #3268]
7661 * math/libm-test.inc (fma_test): Add some more tests.
7662 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
7663 correctly.
7664
7665 2010-10-15 Andreas Schwab <schwab@redhat.com>
7666
7667 * scripts/data/localplt-s390-linux-gnu.data: New file.
7668 * scripts/data/localplt-s390x-linux-gnu.data: New file.
7669
7670 2010-10-13 Jakub Jelinek <jakub@redhat.com>
7671
7672 [BZ #3268]
7673 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
7674 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
7675 instead of dbl-64.
7676 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
7677 inlines.
7678 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
7679 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
7680 if one of x and y is very large and the other is subnormal.
7681 * sysdeps/s390/fpu/s_fmaf.c: New file.
7682 * sysdeps/s390/fpu/s_fma.c: New file.
7683 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
7684 * sysdeps/powerpc/fpu/s_fma.S: New file.
7685 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
7686 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
7687 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
7688
7689 2010-10-12 Jakub Jelinek <jakub@redhat.com>
7690
7691 [BZ #3268]
7692 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
7693 fma tests.
7694 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
7695 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
7696 * sysdeps/i386/i686/multiarch/s_fma.c: Include
7697 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
7698 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
7699 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
7700 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
7701
7702 2010-10-12 Ulrich Drepper <drepper@redhat.com>
7703
7704 [BZ #12078]
7705 * posix/regcomp.c (parse_branch): One more memory leak plugged.
7706 * posix/bug-regex31.input: Add test case.
7707
7708 2010-10-11 Ulrich Drepper <drepper@gmail.com>
7709
7710 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
7711 * posix/bug-regex31.input: New file.
7712
7713 [BZ #12078]
7714 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
7715 (parse_sub_exp): Fix last change, use postorder.
7716
7717 * posix/bug-regex31.c: New file.
7718 * posix/Makefile: Add rules to build and run bug-regex31.
7719
7720 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
7721
7722 [BZ #12078]
7723 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
7724
7725 [BZ #12108]
7726 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
7727 to have entries in sys_siglist.
7728
7729 [BZ #12093]
7730 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
7731 be NULL.
7732
7733 2010-10-07 Jakub Jelinek <jakub@redhat.com>
7734
7735 [BZ #3268]
7736 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
7737 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
7738 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
7739 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
7740 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
7741 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
7742 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
7743 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
7744 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
7745 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
7746 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
7747 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
7748 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
7749 * math/ftestexcept.c (fetestexcept): Likewise.
7750 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
7751 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
7752 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
7753 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
7754 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
7755 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
7756 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
7757
7758 2010-10-11 Ulrich Drepper <drepper@gmail.com>
7759
7760 [BZ #12107]
7761 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
7762 newline.
7763
7764 2010-10-06 Ulrich Drepper <drepper@gmail.com>
7765
7766 * string/bug-strstr1.c: New file.
7767 * string/Makefile: Add rules to build and run bug-strstr1.
7768
7769 2010-10-05 Eric Blake <eblake@redhat.com>
7770
7771 [BZ #12092]
7772 * string/str-two-way.h (two_way_long_needle): Always clear memory
7773 when skipping input due to the shift table.
7774
7775 2010-10-03 Ulrich Drepper <drepper@gmail.com>
7776
7777 [BZ #12005]
7778 * malloc/mcheck.c: Handle large requests.
7779
7780 [BZ #12077]
7781 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
7782 for strncmp and strncasecmp.
7783 * string/stratcliff.c: Add tests for strcmp and strncmp.
7784 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
7785
7786 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
7787
7788 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
7789 __set_fpscr.
7790
7791 2010-09-30 Andreas Jaeger <aj@suse.de>
7792
7793 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
7794 (CGROUP_SUPER_MAGIC): Define.
7795 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
7796 Handle btrfs and cgroup file systems.
7797 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
7798 Likewise.
7799
7800 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
7801
7802 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
7803 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
7804
7805 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7806
7807 [BZ #12067]
7808 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
7809 trying to locate the ELF header.
7810
7811 2010-09-27 Andreas Schwab <schwab@redhat.com>
7812
7813 [BZ #11611]
7814 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
7815 Mask out sign-bit copies when constructing f_fsid.
7816
7817 2010-09-24 Petr Baudis <pasky@suse.cz>
7818
7819 * debug/stack_chk_fail_local.c: Add missing licence exception.
7820 * debug/warning-nop.c: Likewise.
7821
7822 2010-09-15 Joseph Myers <joseph@codesourcery.com>
7823
7824 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
7825 implementing getdents64 using getdents syscall, set d_type if
7826 __ASSUME_GETDENTS32_D_TYPE.
7827
7828 2010-09-16 Andreas Schwab <schwab@redhat.com>
7829
7830 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
7831 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
7832
7833 2010-09-21 Ulrich Drepper <drepper@redhat.com>
7834
7835 [BZ #12037]
7836 * posix/unistd.h: Undo change of feature selection for ftruncate from
7837 2010-01-11.
7838
7839 2010-09-20 Ulrich Drepper <drepper@redhat.com>
7840
7841 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
7842 detection.
7843
7844 2010-09-20 Andreas Schwab <schwab@redhat.com>
7845
7846 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
7847 fanotify_mark.
7848 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
7849
7850 2010-09-14 Andreas Schwab <schwab@redhat.com>
7851
7852 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
7853 variables after CHECK_SP call.
7854 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
7855
7856 2010-09-13 Andreas Schwab <schwab@redhat.com>
7857 Ulrich Drepper <drepper@redhat.com>
7858
7859 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
7860 re-relocationg ld.so.
7861 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
7862 _dl_init_paths call.
7863 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
7864 here anymore.
7865
7866 2010-09-14 Ulrich Drepper <drepper@redhat.com>
7867
7868 * resolv/res_init.c (__res_vinit): Count the default server we added.
7869
7870 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
7871 Ulrich Drepper <drepper@redhat.com>
7872
7873 [BZ #11968]
7874 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
7875 (____longjmp_chk): Use %ebx for saving value across system call.
7876 Add unwind info.
7877
7878 2010-09-06 Andreas Schwab <schwab@redhat.com>
7879
7880 * manual/Makefile: Don't mix pattern rules with normal rules.
7881
7882 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
7883
7884 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
7885 operation.
7886 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
7887 * libio/iofopncook.c (_IO_cookie_init): Likewise.
7888 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
7889 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
7890 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
7891 Likewise.
7892
7893 2010-09-04 Ulrich Drepper <drepper@redhat.com>
7894
7895 [BZ #11979]
7896 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
7897 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
7898
7899 2010-09-02 Ulrich Drepper <drepper@redhat.com>
7900
7901 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
7902 * sysdeps/x86_64/addmul_1.S: Likewise.
7903 * sysdeps/x86_64/lshift.S: Likewise.
7904 * sysdeps/x86_64/mul_1.S: Likewise.
7905 * sysdeps/x86_64/rshift.S: Likewise.
7906 * sysdeps/x86_64/sub_n.S: Likewise.
7907 * sysdeps/x86_64/submul_1.S: Likewise.
7908
7909 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
7910
7911 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
7912 Define __sched_param instead of SCHED_* and sched_param when
7913 <bits/sched.h> is included with __need_schedparam defined.
7914 * bits/sched.h [__need_schedparam]
7915 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
7916 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
7917 (__defined_schedparam): Define to 1.
7918 (__sched_param): New structure, identical to sched_param.
7919 (__need_schedparam): Undefine.
7920
7921 2010-08-31 Mike Frysinger <vapier@gentoo.org>
7922
7923 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
7924 (epoll_create1): Declare.
7925
7926 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
7927
7928 2010-08-31 Andreas Schwab <schwab@redhat.com>
7929
7930 [BZ #7066]
7931 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
7932 shifting retval into place.
7933
7934 2010-09-01 Ulrich Drepper <drepper@redhat.com>
7935
7936 * nis/rpcsvc/nis.h: Update copyright notice.
7937 * nis/rpcsvc/nis.x: Likewise.
7938 * nis/rpcsvc/nis_callback.h: Likewise.
7939 * nis/rpcsvc/nis_callback.x: Likewise.
7940 * nis/rpcsvc/nis_object.x: Likewise.
7941 * nis/rpcsvc/nis_tags.h: Likewise.
7942 * nis/rpcsvc/yp.h: Likewise.
7943 * nis/rpcsvc/yp.x: Likewise.
7944 * nis/rpcsvc/ypupd.h: Likewise.
7945 * nis/yp_xdr.c: Likewise.
7946 * nis/ypupdate_xdr.c: Likewise.
7947
7948 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
7949 mainly the body of pmap_getport. Add parameters to specify timeouts.
7950 (pmap_getport): Use __libc_rpc_getport.
7951 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
7952 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
7953 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
7954
7955 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
7956
7957 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
7958 fanotify_mark.
7959
7960 2010-08-27 Roland McGrath <roland@redhat.com>
7961
7962 * sysdeps/i386/i686/multiarch/Makefile
7963 (CFLAGS-varshift.c): New variable.
7964
7965 2010-08-27 Ulrich Drepper <drepper@redhat.com>
7966
7967 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
7968 * sysdeps/i386/i686/multiarch/varshift.c: New file.
7969
7970 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
7971
7972 * sysdeps/x86_64/strlen.S: Minimal code improvement.
7973
7974 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
7975
7976 * sysdeps/x86_64/strlen.S: Unroll the loop.
7977 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7978 strlen-sse2 strlen-sse2-bsf.
7979 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
7980 __strlen_no_bsf if bit_Slow_BSF is set.
7981 (__strlen_sse42): Removed.
7982 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
7983 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
7984
7985 2010-08-25 Roland McGrath <roland@redhat.com>
7986
7987 * sysdeps/x86_64/multiarch/varshift.S: File removed.
7988 * sysdeps/x86_64/multiarch/varshift.c: New file.
7989 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
7990 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
7991 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
7992 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
7993
7994 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
7995
7996 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
7997 strlen-sse2 strlen-sse2-bsf.
7998 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
7999 __strlen_sse2_bsf if bit_Slow_BSF is unset.
8000 (__strlen_sse2): Removed.
8001 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
8002 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
8003 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
8004 bit_Slow_BSF for Atom.
8005 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
8006 (index_Slow_BSF): Define.
8007 (HAS_SLOW_BSF): Define.
8008
8009 2010-08-25 Ulrich Drepper <drepper@redhat.com>
8010
8011 [BZ #10851]
8012 * resolv/res_init.c (__res_vinit): When no server address at all
8013 is given default to loopback.
8014
8015 2010-08-24 Roland McGrath <roland@redhat.com>
8016
8017 * configure.in: Remove config-name.h generation.
8018 * configure: Regenerated.
8019 * config-name.in: File removed.
8020 * scripts/config-uname.sh: New file.
8021 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
8022 ($(objdir)config-name.h): New target.
8023
8024 * sunrpc/rpc_parse.h: Avoid nested comment.
8025
8026 2010-08-24 Richard Henderson <rth@redhat.com>
8027 Ulrich Drepper <drepper@redhat.com>
8028 H.J. Lu <hongjiu.lu@intel.com>
8029
8030 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
8031 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
8032 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
8033 Replace _mm_srli_si128 with __m128i_shift_right. Replace
8034 _mm_alignr_epi8 with _mm_loadu_si128.
8035 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
8036 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
8037 (__m128i_shift_right): Removed.
8038 * sysdeps/i386/i686/multiarch/varshift.h: New file.
8039 * sysdeps/i386/i686/multiarch/varshift.S: New file.
8040 * sysdeps/x86_64/multiarch/varshift.h: New file.
8041 * sysdeps/x86_64/multiarch/varshift.S: New file.
8042
8043 2010-08-21 Mike Frysinger <vapier@gentoo.org>
8044
8045 * configure.in: Move assembler checks to before sysdep dir checking.
8046
8047 2010-08-20 Petr Baudis <pasky@suse.cz>
8048
8049 * LICENSES: Sync the sunrpc license.
8050
8051 2010-08-19 Ulrich Drepper <drepper@redhat.com>
8052
8053 * sunrpc/auth_des.c: Update copyright notice once again.
8054 * sunrpc/auth_none.c: Likewise.
8055 * sunrpc/auth_unix.c: Likewise.
8056 * sunrpc/authdes_prot.c: Likewise.
8057 * sunrpc/authuxprot.c: Likewise.
8058 * sunrpc/bindrsvprt.c: Likewise.
8059 * sunrpc/clnt_gen.c: Likewise.
8060 * sunrpc/clnt_perr.c: Likewise.
8061 * sunrpc/clnt_raw.c: Likewise.
8062 * sunrpc/clnt_simp.c: Likewise.
8063 * sunrpc/clnt_tcp.c: Likewise.
8064 * sunrpc/clnt_udp.c: Likewise.
8065 * sunrpc/clnt_unix.c: Likewise.
8066 * sunrpc/des_crypt.c: Likewise.
8067 * sunrpc/des_soft.c: Likewise.
8068 * sunrpc/get_myaddr.c: Likewise.
8069 * sunrpc/getrpcport.c: Likewise.
8070 * sunrpc/key_call.c: Likewise.
8071 * sunrpc/key_prot.c: Likewise.
8072 * sunrpc/openchild.c: Likewise.
8073 * sunrpc/pm_getmaps.c: Likewise.
8074 * sunrpc/pm_getport.c: Likewise.
8075 * sunrpc/pmap_clnt.c: Likewise.
8076 * sunrpc/pmap_prot.c: Likewise.
8077 * sunrpc/pmap_prot2.c: Likewise.
8078 * sunrpc/pmap_rmt.c: Likewise.
8079 * sunrpc/rpc/auth.h: Likewise.
8080 * sunrpc/rpc/auth_unix.h: Likewise.
8081 * sunrpc/rpc/clnt.h: Likewise.
8082 * sunrpc/rpc/des_crypt.h: Likewise.
8083 * sunrpc/rpc/key_prot.h: Likewise.
8084 * sunrpc/rpc/netdb.h: Likewise.
8085 * sunrpc/rpc/pmap_clnt.h: Likewise.
8086 * sunrpc/rpc/pmap_prot.h: Likewise.
8087 * sunrpc/rpc/pmap_rmt.h: Likewise.
8088 * sunrpc/rpc/rpc.h: Likewise.
8089 * sunrpc/rpc/rpc_des.h: Likewise.
8090 * sunrpc/rpc/rpc_msg.h: Likewise.
8091 * sunrpc/rpc/svc.h: Likewise.
8092 * sunrpc/rpc/svc_auth.h: Likewise.
8093 * sunrpc/rpc/types.h: Likewise.
8094 * sunrpc/rpc/xdr.h: Likewise.
8095 * sunrpc/rpc_clntout.c: Likewise.
8096 * sunrpc/rpc_cmsg.c: Likewise.
8097 * sunrpc/rpc_common.c: Likewise.
8098 * sunrpc/rpc_cout.c: Likewise.
8099 * sunrpc/rpc_dtable.c: Likewise.
8100 * sunrpc/rpc_hout.c: Likewise.
8101 * sunrpc/rpc_main.c: Likewise.
8102 * sunrpc/rpc_parse.c: Likewise.
8103 * sunrpc/rpc_parse.h: Likewise.
8104 * sunrpc/rpc_prot.c: Likewise.
8105 * sunrpc/rpc_sample.c: Likewise.
8106 * sunrpc/rpc_scan.c: Likewise.
8107 * sunrpc/rpc_scan.h: Likewise.
8108 * sunrpc/rpc_svcout.c: Likewise.
8109 * sunrpc/rpc_tblout.c: Likewise.
8110 * sunrpc/rpc_util.c: Likewise.
8111 * sunrpc/rpc_util.h: Likewise.
8112 * sunrpc/rpcinfo.c: Likewise.
8113 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
8114 * sunrpc/rpcsvc/key_prot.x: Likewise.
8115 * sunrpc/rpcsvc/klm_prot.x: Likewise.
8116 * sunrpc/rpcsvc/mount.x: Likewise.
8117 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
8118 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
8119 * sunrpc/rpcsvc/rex.x: Likewise.
8120 * sunrpc/rpcsvc/rstat.x: Likewise.
8121 * sunrpc/rpcsvc/rusers.x: Likewise.
8122 * sunrpc/rpcsvc/sm_inter.x: Likewise.
8123 * sunrpc/rpcsvc/spray.x: Likewise.
8124 * sunrpc/rpcsvc/yppasswd.x: Likewise.
8125 * sunrpc/rtime.c: Likewise.
8126 * sunrpc/svc.c: Likewise.
8127 * sunrpc/svc_auth.c: Likewise.
8128 * sunrpc/svc_authux.c: Likewise.
8129 * sunrpc/svc_raw.c: Likewise.
8130 * sunrpc/svc_run.c: Likewise.
8131 * sunrpc/svc_simple.c: Likewise.
8132 * sunrpc/svc_tcp.c: Likewise.
8133 * sunrpc/svc_udp.c: Likewise.
8134 * sunrpc/svc_unix.c: Likewise.
8135 * sunrpc/svcauth_des.c: Likewise.
8136 * sunrpc/xcrypt.c: Likewise.
8137 * sunrpc/xdr.c: Likewise.
8138 * sunrpc/xdr_array.c: Likewise.
8139 * sunrpc/xdr_float.c: Likewise.
8140 * sunrpc/xdr_mem.c: Likewise.
8141 * sunrpc/xdr_rec.c: Likewise.
8142 * sunrpc/xdr_ref.c: Likewise.
8143 * sunrpc/xdr_sizeof.c: Likewise.
8144 * sunrpc/xdr_stdio.c: Likewise.
8145
8146 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
8147 handling.
8148
8149 2010-08-19 Andreas Schwab <schwab@redhat.com>
8150
8151 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
8152
8153 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
8154
8155 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
8156 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
8157 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
8158 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
8159 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
8160 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
8161 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
8162 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
8163 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
8164 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
8165 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
8166 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
8167 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
8168 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
8169
8170 2010-07-26 Anton Blanchard <anton@samba.org>
8171
8172 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
8173 * malloc/arena.c (heap_trim): Likewise.
8174
8175 2010-08-16 Ulrich Drepper <drepper@redhat.com>
8176
8177 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
8178 here. Not...
8179 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
8180 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
8181
8182 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
8183
8184 * sysdeps/i386/elf/Makefile: New file.
8185
8186 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
8187
8188 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
8189 from fanotify_init.
8190 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
8191 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
8192
8193 2010-08-15 Ulrich Drepper <drepper@redhat.com>
8194
8195 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
8196 of strncasecmp_l.
8197 * sysdeps/multiarch/strcmp.S: Likewise.
8198
8199 2010-08-14 Ulrich Drepper <drepper@redhat.com>
8200
8201 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
8202 strncase_l-nonascii.
8203 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
8204 Add strncase_l-ssse3.
8205 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
8206 * sysdeps/x86_64/strcmp.S: Likewise.
8207 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
8208 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
8209 * sysdeps/x86_64/strncase.S: New file.
8210 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
8211 * sysdeps/x86_64/strncase_l.S: New file.
8212 * string/Makefile (strop-tests): Add strncasecmp.
8213 * string/test-strncasecmp.c: New file.
8214
8215 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
8216 warning.
8217
8218 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
8219 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
8220
8221 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
8222
8223 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
8224
8225 2010-08-12 Ulrich Drepper <drepper@redhat.com>
8226
8227 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
8228 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
8229 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
8230
8231 2010-05-01 Alan Modra <amodra@gmail.com>
8232
8233 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
8234 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
8235 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
8236 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
8237 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
8238 tidying. Don't tail-call __sigjmp_save for static lib.
8239 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
8240 save location.
8241 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
8242 (CALL_MCOUNT): Add eh info, and nop after bl.
8243 (TAIL_CALL_SYSCALL_ERROR): New macro.
8244 (PSEUDO_RET): Use it.
8245 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
8246 Correct save location of integer regs and cr.
8247 (_dl_profile_resolve): Correct cr save location. Delete nops
8248 after bl when SHARED. Reduce cfi size a little by better
8249 placement of cfi directives.
8250 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
8251 make a stack frame. Instead use parm save area as a temp.
8252 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
8253 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
8254 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
8255 Don't make a stack frame for parent, use parm save area.
8256 Increase child stack frame to 112 bytes. Don't save unused reg,
8257 and adjust reg usage. Set up cfi on error recovery and
8258 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
8259 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
8260 (__makecontext): Add dummy nop after jump to exit.
8261 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
8262 Use correct parm save area and cr save, reduce stack frame.
8263 Correct cfi for possible PSEUDO_RET frame setup.
8264 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
8265 Branch to local label emitted by PSEUDO_RET rather than
8266 __syscall_error.
8267
8268 2010-08-12 Andreas Schwab <schwab@redhat.com>
8269
8270 [BZ #11904]
8271 * locale/programs/locale.c (print_assignment): New function.
8272 (show_locale_vars): Use it.
8273
8274 2010-08-11 Ulrich Drepper <drepper@redhat.com>
8275
8276 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
8277 field.
8278 (struct statfs64): Likewise.
8279 (_STATFS_F_FLAGS): Define.
8280 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
8281 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
8282 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
8283 (ST_VALID): Define locally.
8284 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
8285 __statvfs_getflags, use the provided value.
8286 * sysdeps/unix/sysv/linux/kernel-features.h: Define
8287 __ASSUME_STATFS_F_FLAGS.
8288
8289 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
8290
8291 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
8292 Add sys/fanotify.h.
8293 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
8294 fanotify_mask for GLIBC_2.13.
8295 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
8296 fanotify_init and fanotify_mark.
8297 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
8298 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
8299
8300 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
8301 Add prlimit.
8302 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
8303 prlimit64 for GLIBC_2.13.
8304 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
8305 prlimit64.
8306 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
8307 syscall.
8308 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
8309 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
8310 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
8311 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
8312 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
8313 add prlimit alias.
8314 * sysdeps/unix/sysv/linux/prlimit.c: New file.
8315
8316 [BZ #11903]
8317 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
8318 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
8319
8320 * nss/Makefile: Add rules to build and run tst-nss-test1.
8321 * shlib-versions: Add entry for libnss_test1.
8322 * nss/nss_test1.c: New file.
8323 * nss/tst-nss-test1.c: New file.
8324
8325 * nss/nsswitch.c (__nss_database_custom): Define new variable.
8326 (__nss_configure_lookup): Set appropriate entry in
8327 __nss_configure_lookup to true.
8328 * nss/nsswitch.h: Define enum with indeces of databases in
8329 databases and __nss_database_custom arrays. Declare
8330 __nss_database_custom.
8331 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
8332 to avoid using nscd when custom rules are installed.
8333 * nss/getXXbyYY_r.c: Likewise.
8334 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
8335
8336 * nss/nss_files/files-parse.c: Whitespace fixes.
8337
8338 2010-08-09 Ulrich Drepper <drepper@redhat.com>
8339
8340 [BZ #11883]
8341 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
8342 * posix/fnmatch_loop.c: Likewise.
8343
8344 2010-07-17 Andi Kleen <ak@linux.intel.com>
8345
8346 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
8347 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
8348 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
8349 * Versions.def [GLIBC_2.13]: Add.
8350
8351 2010-08-06 Ulrich Drepper <drepper@redhat.com>
8352
8353 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
8354 Also fail if tpwd after pwuid call is NULL.
8355
8356 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
8357
8358 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
8359 when converting to ms.
8360
8361 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
8362
8363 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
8364 EOPNOTSUPP errors with ENOTTY.
8365 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
8366 EOPNOTSUPP errors with ENOTTY.
8367
8368 2010-07-31 Ulrich Drepper <drepper@redhat.com>
8369
8370 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
8371 Add strcasecmp_l-ssse3.
8372 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
8373 strcasecmp.
8374 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
8375 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
8376 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
8377
8378 2010-07-30 Ulrich Drepper <drepper@redhat.com>
8379
8380 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
8381
8382 * string/Makefile (strop-tests): Add strcasecmp.
8383 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
8384 strcasecmp_l-nonascii.
8385 (gen-as-const-headers): Add locale-defines.sym.
8386 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
8387 * sysdeps/x86_64/strcasecmp.S: New file.
8388 * sysdeps/x86_64/strcasecmp_l.S: New file.
8389 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
8390 * sysdeps/x86_64/locale-defines.sym: New file.
8391 * string/test-strcasecmp.c: New file.
8392
8393 * string/test-strcasestr.c: Test both ends of the range of characters.
8394 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
8395
8396 2010-07-29 Roland McGrath <roland@redhat.com>
8397
8398 [BZ #11856]
8399 * manual/locale.texi (Yes-or-No Questions): Fix example code.
8400
8401 2010-07-27 Ulrich Drepper <drepper@redhat.com>
8402
8403 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
8404 for ld.so.
8405
8406 2010-07-27 Andreas Schwab <schwab@redhat.com>
8407
8408 * manual/memory.texi (Malloc Tunable Parameters): Document
8409 M_PERTURB.
8410
8411 2010-07-26 Roland McGrath <roland@redhat.com>
8412
8413 [BZ #11840]
8414 * configure.in (-fgnu89-inline check): Set and substitute
8415 gnu89_inline, not libc_cv_gnu89_inline.
8416 * configure: Regenerated.
8417 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
8418
8419 2010-07-26 Ulrich Drepper <drepper@redhat.com>
8420
8421 * string/test-strnlen.c: New file.
8422 * string/Makefile (strop-tests): Add strnlen.
8423 * string/tester.c (test_strnlen): Add a few more test cases.
8424 * string/tst-strlen.c: Better error reporting.
8425
8426 * sysdeps/x86_64/strnlen.S: New file.
8427
8428 2010-07-24 Ulrich Drepper <drepper@redhat.com>
8429
8430 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
8431 lower-latency instructions.
8432
8433 2010-07-23 Ulrich Drepper <drepper@redhat.com>
8434
8435 * string/test-strcasestr.c: New file.
8436 * string/test-strstr.c: New file.
8437 * string/Makefile (strop-tests): Add strstr and strcasestr.
8438 * string/str-two-way.h: Don't undefine MAX.
8439 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
8440
8441 2010-07-21 Andreas Schwab <schwab@redhat.com>
8442
8443 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
8444 strcasestr-nonascii.
8445 (CFLAGS-strcasestr-nonascii.c): Define.
8446 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
8447 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
8448 Remove unused attribute.
8449
8450 2010-07-20 Roland McGrath <roland@redhat.com>
8451
8452 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
8453 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
8454 ld.so.cache was broken. With it, there is no way to disable dsocaps
8455 like LD_HWCAP_MASK can disable hwcaps.
8456
8457 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
8458
8459 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
8460
8461 2010-07-16 Ulrich Drepper <drepper@redhat.com>
8462
8463 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
8464 call in strcasestr.
8465 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
8466 __strcasestr_sse42_nonascii.
8467 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
8468 strcasestr-nonascii.c.
8469 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
8470
8471 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
8472
8473 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
8474 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
8475 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
8476 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
8477
8478 2010-07-09 Ulrich Drepper <drepper@redhat.com>
8479
8480 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
8481 fcntl.
8482
8483 2010-07-06 Andreas Schwab <schwab@redhat.com>
8484
8485 [BZ #11577]
8486 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
8487 dl_signal_cerror.
8488
8489 2010-07-06 Ulrich Drepper <drepper@redhat.com>
8490
8491 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
8492 _PC_PIPE_BUF using F_GETPIPE_SZ.
8493
8494 2010-07-05 Roland McGrath <roland@redhat.com>
8495
8496 * manual/arith.texi (Rounding Functions): Fix rint description
8497 implicit in round description.
8498
8499 2010-07-02 Ulrich Drepper <drepper@redhat.com>
8500
8501 * elf/Makefile: Fix linking for a few tests to make recent linker
8502 happy.
8503
8504 2010-06-30 Andreas Schwab <schwab@redhat.com>
8505
8506 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
8507 $(common-objpfx)libc_nonshared.a.
8508
8509 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
8510
8511 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
8512 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
8513 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
8514 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
8515 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
8516 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
8517 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
8518 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
8519 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
8520 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
8521 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
8522 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
8523 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
8524 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
8525 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
8526 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
8527 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
8528 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
8529 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
8530 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
8531 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
8532 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
8533 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
8534 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
8535 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
8536 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
8537 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
8538 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
8539 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
8540 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
8541 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
8542 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
8543 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
8544 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
8545 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
8546 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
8547 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
8548 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
8549 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
8550 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
8551 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
8552 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
8553 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
8554 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
8555 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
8556 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
8557 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
8558 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
8559
8560 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
8561
8562 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
8563 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
8564 * string/memmove.c (memmove): Renamed to ...
8565 (MEMMOVE): ...this. Default to memmove.
8566 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
8567 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
8568 (END_CHK): Define.
8569 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8570 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
8571 mempcpy-ssse3-back memmove-ssse3-back.
8572 * sysdeps/x86_64/multiarch/bcopy.S: New file .
8573 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
8574 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
8575 * sysdeps/x86_64/multiarch/memcpy.S: New file.
8576 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
8577 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
8578 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
8579 * sysdeps/x86_64/multiarch/memmove.c: New file.
8580 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
8581 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
8582 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
8583 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
8584 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
8585 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
8586 Define.
8587 (index_Fast_Copy_Backward): Define.
8588 (HAS_ARCH_FEATURE): Define.
8589 (HAS_FAST_REP_STRING): Define.
8590 (HAS_FAST_COPY_BACKWARD): Define.
8591
8592 2010-06-21 Andreas Schwab <schwab@redhat.com>
8593
8594 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
8595 Restore proper fallback handling.
8596
8597 2010-06-19 Ulrich Drepper <drepper@redhat.com>
8598
8599 [BZ #11701]
8600 * posix/group_member.c (__group_member): Correct checking loop.
8601
8602 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
8603 OOM in getpwuid_r correctly. Return error number when the caller
8604 should return, otherwise -1.
8605 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
8606 call returning > 0 value.
8607 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
8608
8609 2010-06-07 Andreas Schwab <schwab@redhat.com>
8610
8611 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
8612 libc_nonshared.a from targets in modules-names.
8613
8614 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
8615
8616 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
8617 requires it.
8618
8619 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
8620
8621 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
8622 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
8623 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
8624 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
8625
8626 2010-06-02 Andreas Schwab <schwab@redhat.com>
8627
8628 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
8629
8630 2010-06-14 Ulrich Drepper <drepper@redhat.com>
8631
8632 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
8633 and F_GETPIPE_SZ.
8634 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
8635 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
8636 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
8637 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
8638 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
8639 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
8640
8641 2010-06-14 Roland McGrath <roland@redhat.com>
8642
8643 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
8644
8645 2010-06-07 Jakub Jelinek <jakub@redhat.com>
8646
8647 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
8648 __REDIRECT followed by __THROW.
8649 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
8650 * posix/getopt.h (getopt): Likewise.
8651
8652 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
8653
8654 * hurd/lookup-at.c (__file_name_lookup_at): Accept
8655 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
8656 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
8657 in AT_FLAGS.
8658 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
8659 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
8660
8661 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
8662
8663 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
8664
8665 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
8666
8667 [BZ #11640]
8668 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8669 Properly check family and model.
8670
8671 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
8672
8673 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
8674
8675 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
8676
8677 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
8678
8679 2010-05-21 Ulrich Drepper <drepper@redhat.com>
8680
8681 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
8682 symbol reference.
8683
8684 2010-05-19 Andreas Schwab <schwab@redhat.com>
8685
8686 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
8687 symbol reference.
8688
8689 2010-05-21 Andreas Schwab <schwab@redhat.com>
8690
8691 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
8692 and internal_recvmmsg.
8693 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
8694 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
8695 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
8696 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
8697
8698 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
8699 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
8700 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
8701
8702 2010-05-20 Andreas Schwab <schwab@redhat.com>
8703
8704 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
8705
8706 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
8707
8708 POWER7 optimizations.
8709 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
8710 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
8711
8712 2010-05-19 Ulrich Drepper <drepper@redhat.com>
8713
8714 * version.h: Update for 2.13 development version.
8715
8716 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
8717
8718 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
8719 exceptions. Return 0.
8720
8721 2010-05-07 Roland McGrath <roland@redhat.com>
8722
8723 * elf/ldconfig.c (main): Add a const.
8724
8725 2010-05-06 Ulrich Drepper <drepper@redhat.com>
8726
8727 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
8728 (args_options): Add no-idn option.
8729 (ahosts_keys_int): Add idn_flags to ai_flags.
8730 (parse_option): Handle 'i' option to clear idn_flags.
8731
8732 * malloc/malloc.c (_int_free): Possible race in the most recently
8733 added check. Only act on the data if no current modification
8734 happened.
8735
8736 See ChangeLog.17 for earlier changes.
This page took 0.415196 seconds and 5 git commands to generate.