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