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