1 2012-02-29 Jeff Law <law@redhat.com>
3 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
6 2012-02-29 Marek Polacek <polacek@redhat.com>
9 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
10 * elf/Makefile: Add rules to run tst-unused-dep.out.
12 2012-02-28 David S. Miller <davem@davemloft.net>
14 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
15 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
16 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
17 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
18 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
19 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
21 2012-02-29 Joseph Myers <joseph@codesourcery.com>
23 * math/libm-test.inc (llround_test): Move one test from
24 lround_test. Use TEST_f_L in moved test.
25 (lround_test): Move misplaced test to llround_test. Add testcase
28 2012-02-28 Ulrich Drepper <drepper@gmail.com>
30 * sysdeps/x86_64/fpu/e_expf.S: New file.
31 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
33 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
36 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
37 of remain_len that may cause incomplete multi-byte character and
39 * posix/bug-regex33.c: New file.
40 * posix/Makefile (tests): Add bug-regex33.
42 2012-02-28 Joseph Myers <joseph@codesourcery.com>
44 * manual/macros.texi: New file.
45 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
46 * manual/libc.texinfo: Include macros.texi.
47 * manual/creatute.texi: Likewise.
48 * manual/install.texi: Likewise.
49 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
50 @glibcadj{} in references to the GNU C Library.
51 * manual/charset.texi: Likewise.
52 * manual/conf.texi: Likewise.
53 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
54 when not using those macros.
55 * manual/creature.texi: Likewise.
56 * manual/crypt.texi: Likewise.
57 * manual/errno.texi: Likewise.
58 * manual/filesys.texi: Likewise.
59 * manual/header.texi: Likewise.
60 * manual/install.texi: Likewise.
61 * manual/intro.texi: Likewise.
62 * manual/io.texi: Likewise.
63 * manual/job.texi: Likewise.
64 * manual/lang.texi: Likewise.
65 * manual/libc.texiinfo: Likewise.
66 * manual/llio.texi: Likewise.
67 * manual/locale.texi: Likewise.
68 * manual/maint.texi: Likewise.
69 * manual/math.texi: Likewise.
70 * manual/memory.texi: Likewise.
71 * manual/message.texi: Likewise.
72 * manual/nss.texi: Likewise.
73 * manual/pattern.texi: Likewise.
74 * manual/process.texi: Likewise.
75 * manual/resource.texi: Likewise.
76 * manual/search.texi: Likewise.
77 * manual/setjmp.texi: Likewise.
78 * manual/signal.texi: Likewise.
79 * manual/socket.texi: Likewise.
80 * manual/startup.texi: Likewise.
81 * manual/stdio.texi: Likewise.
82 * manual/string.texi: Likewise.
83 * manual/sysinfo.texi: Likewise.
84 * manual/syslog.texi: Likewise.
85 * manual/terminal.texi: Likewise.
86 * manual/time.texi: Likewise.
87 * manual/users.texi: Likewise.
88 * INSTALL: Regenerated.
90 * sysdeps/gnu/errlist.c: Regenerated.
92 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
94 * include/dirent.h: Include <dirstream.h> before
97 2012-02-28 David S. Miller <davem@davemloft.net>
99 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
100 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
101 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
102 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
104 2012-02-27 David S. Miller <davem@davemloft.net>
106 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
107 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
108 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
109 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
111 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
112 frame pointer instead of stack pointer relative arg slot.
113 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
114 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
115 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
117 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
120 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
122 2012-02-27 David S. Miller <davem@davemloft.net>
124 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
125 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
126 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
127 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
128 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
129 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
130 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
131 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
133 2012-02-27 Joseph Myers <joseph@codesourcery.com>
135 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
136 later. Allow versions 5-9.
137 * configure: Regenerated.
138 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
139 required minimum version and 4.6 as recommended version. Do not
140 mention bugs in GCC 2.7 and 2.8.
141 * INSTALL: Regenerated.
143 2012-02-27 David S. Miller <davem@davemloft.net>
145 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
146 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
147 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
148 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
149 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
150 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
151 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
152 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
154 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
155 manipulate bits before adding and subtracting TWO112[sx].
156 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
158 2012-02-27 Roland McGrath <roland@hack.frob.com>
161 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
162 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
163 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
164 being in POSIX, because they are in 1003.1-2008.
166 * rt/tst-aio.c: Include <fcntl.h>.
167 * rt/tst-aio7.c: Likewise.
168 * rt/tst-aio64.c: Likewise.
170 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
172 2012-02-27 Joseph Myers <joseph@codesourcery.com>
174 * manual/install.texi (--with-headers): Describe headers as
175 interface headers, not private headers.
176 (Specific advice for GNU/Linux systems): Describe use of headers
177 from "make headers_install", not private headers from older
179 * INSTALL: Regenerated.
180 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
182 * sysdeps/unix/sysv/linux/configure: Regenerated.
184 * manual/llio.texi (fclean): Remove documentation.
186 * manual/Makefile (libc-texi-generated): New variable. Include
188 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
189 $(libc-texi-generated), not duplicated list of files.
190 (version.texi, stamp-version): New rules.
191 (realclean): Remove $(libc-texi-generated), not individual files
192 from that list. Do not remove dir-add.texinfo.
193 * manual/libc.texinfo: Comment out uses of edition numbers and
194 references to printed manual. Remove last-updated dates.
195 (EDITION): Comment out.
197 (VERSION, UPDATED): Remove.
198 (version.texi): Include.
200 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
202 * sysdeps/posix/spawni.c: Include <signal.h>.
203 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
204 * sysdeps/pthread/aio_fsync.c: Likewise.
206 2012-02-26 Ulrich Drepper <drepper@gmail.com>
208 * conform/Makefile (tests): Run only when not cross-compiling and
209 when fast-check is not defined.
211 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
212 * conform/data/limits.h-data: Fixes for POSIX2008.
213 * conform/run-conformtest.sh: Run all tests.
214 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
216 * include/bits/dlfcn.h: Likewise.
217 * include/langinfo.h: Likewise.
218 * include/monetary.h: Likewise.
219 * include/sys/poll.h: Likewise.
221 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
223 * posix/spawn.h: Define __need_sigset_t.
224 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
225 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
226 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
227 to get sigevent_t only.
228 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
230 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
231 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
232 process_vm_writev only for __USE_GNU.
233 * termios/termios.h: Declare tcgetsid also for POSIX2008.
235 * conform/Makefile: For now ignore errors from run-conformtest.
236 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
237 POSIX to avoid namespace pollution. Don't prepend headers.
238 * conform/data/aio.h-data: Fixes for POSIX testing.
239 * conform/data/fcntl.h-data: Likewise.
240 * conform/data/glob.h-data: Likewise.
241 * conform/data/grp.h-data: Likewise.
242 * conform/data/pthread.h-data: Likewise.
243 * conform/data/pwd.h-data: Likewise.
244 * conform/data/signal.h-data: Likewise.
245 * conform/data/spawn.h-data: Likewise.
246 * conform/data/stdio.h-data: Likewise.
247 * conform/data/stdlib.h-data: Likewise.
248 * conform/data/stropts.h-data: Likewise.
249 * conform/data/sys/mman.h-data: Likewise.
250 * conform/data/sys/stat.h-data: Likewise.
251 * conform/data/sys/types.h-data: Likewise.
252 * conform/data/sys/wait.h-data: Likewise.
253 * conform/data/time.h-data: Likewise.
254 * conform/data/unistd.h-data: Likewise.
255 * conform/data/utime.h-data: Likewise.
257 * io/sys/stat.h: fchmod was always in POSIX.
258 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
259 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
260 * rt/aio.h: Define __need_timespec before including <time.h>.
261 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
262 struct. Add forward declaration of pthread_attr_t and use it in
264 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
265 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
266 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
267 always remove CLK_TCK definition.
269 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
271 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
273 2012-02-25 Ulrich Drepper <drepper@gmail.com>
275 * conform/run-conformtest.sh: New file.
276 * conform/Makefile: Run run-conformtest for tests.
277 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
280 * conform/data/uchar.h-data: New file.
281 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
282 * conform/data/arpa/inet.h-data: Likewise.
283 * conform/data/assert.h-data: Likewise.
284 * conform/data/complex.h-data: Likewise.
285 * conform/data/cpio.h-data: Likewise.
286 * conform/data/ctype.h-data: Likewise.
287 * conform/data/dirent.h-data: Likewise.
288 * conform/data/dlfcn.h-data: Likewise.
289 * conform/data/errno.h-data: Likewise.
290 * conform/data/fcntl.h-data: Likewise.
291 * conform/data/float.h-data: Likewise.
292 * conform/data/fmtmsg.h-data: Likewise.
293 * conform/data/fnmatch.h-data: Likewise.
294 * conform/data/ftw.h-data: Likewise.
295 * conform/data/glob.h-data: Likewise.
296 * conform/data/grp.h-data: Likewise.
297 * conform/data/iconv.h-data: Likewise.
298 * conform/data/inttypes.h-data: Likewise.
299 * conform/data/langinfo.h-data: Likewise.
300 * conform/data/libgen.h-data: Likewise.
301 * conform/data/limits.h-data: Likewise.
302 * conform/data/locale.h-data: Likewise.
303 * conform/data/math.h-data: Likewise.
304 * conform/data/monetary.h-data: Likewise.
305 * conform/data/mqueue.h-data: Likewise.
306 * conform/data/ndbm.h-data: Likewise.
307 * conform/data/net/if.h-data: Likewise.
308 * conform/data/netdb.h-data: Likewise.
309 * conform/data/netinet/in.h-data: Likewise.
310 * conform/data/nl_types.h-data: Likewise.
311 * conform/data/poll.h-data: Likewise.
312 * conform/data/pthread.h-data: Likewise.
313 * conform/data/pwd.h-data: Likewise.
314 * conform/data/regex.h-data: Likewise.
315 * conform/data/sched.h-data: Likewise.
316 * conform/data/search.h-data: Likewise.
317 * conform/data/semaphore.h-data: Likewise.
318 * conform/data/setjmp.h-data: Likewise.
319 * conform/data/signal.h-data: Likewise.
320 * conform/data/spawn.h-data: Likewise.
321 * conform/data/stdarg.h-data: Likewise.
322 * conform/data/stdio.h-data: Likewise.
323 * conform/data/stdlib.h-data: Likewise.
324 * conform/data/string.h-data: Likewise.
325 * conform/data/strings.h-data: Likewise.
326 * conform/data/stropts.h-data: Likewise.
327 * conform/data/sys/ipc.h-data: Likewise.
328 * conform/data/sys/mman.h-data: Likewise.
329 * conform/data/sys/msg.h-data: Likewise.
330 * conform/data/sys/resource.h-data: Likewise.
331 * conform/data/sys/select.h-data: Likewise.
332 * conform/data/sys/sem.h-data: Likewise.
333 * conform/data/sys/shm.h-data: Likewise.
334 * conform/data/sys/socket.h-data: Likewise.
335 * conform/data/sys/stat.h-data: Likewise.
336 * conform/data/sys/statvfs.h-data: Likewise.
337 * conform/data/sys/time.h-data: Likewise.
338 * conform/data/sys/timeb.h-data: Likewise.
339 * conform/data/sys/times.h-data: Likewise.
340 * conform/data/sys/types.h-data: Likewise.
341 * conform/data/sys/uio.h-data: Likewise.
342 * conform/data/sys/un.h-data: Likewise.
343 * conform/data/sys/utsname.h-data: Likewise.
344 * conform/data/sys/wait.h-data: Likewise.
345 * conform/data/syslog.h-data: Likewise.
346 * conform/data/tar.h-data: Likewise.
347 * conform/data/termios.h-data: Likewise.
348 * conform/data/utime.h-data: Likewise.
349 * conform/data/utmpx.h-data: Likewise.
350 * conform/data/varargs.h-data: Likewise.
351 * conform/data/wchar.h-data: Likewise.
352 * conform/data/wctype.h-data: Likewise.
353 * conform/data/wordexp.h-data: Likewise.
355 * include/stropts.h: New file.
356 * include/uchar.h: New file.
357 * include/aio.h: Changes to allow conformtest.pl to use the headers.
358 * include/assert.h: Likewise.
359 * include/ctype.h: Likewise.
360 * include/dirent.h: Likewise.
361 * include/dlfcn.h: Likewise.
362 * include/fcntl.h: Likewise.
363 * include/fnmatch.h: Likewise.
364 * include/glob.h: Likewise.
365 * include/grp.h: Likewise.
366 * include/libio.h: Likewise.
367 * include/locale.h: Likewise.
368 * include/math.h: Likewise.
369 * include/net/if.h: Likewise.
370 * include/netdb.h: Likewise.
371 * include/netinet/in.h: Likewise.
372 * include/pthread.h: Likewise.
373 * include/pwd.h: Likewise.
374 * include/regex.h: Likewise.
375 * include/sched.h: Likewise.
376 * include/search.h: Likewise.
377 * include/setjmp.h: Likewise.
378 * include/signal.h: Likewise.
379 * include/stdio.h: Likewise.
380 * include/stdlib.h: Likewise.
381 * include/string.h: Likewise.
382 * include/sys/cdefs.h: Likewise.
383 * include/sys/mman.h: Likewise.
384 * include/sys/msg.h: Likewise.
385 * include/sys/resource.h: Likewise.
386 * include/sys/select.h: Likewise.
387 * include/sys/socket.h: Likewise.
388 * include/sys/stat.h: Likewise.
389 * include/sys/statvfs.h: Likewise.
390 * include/sys/time.h: Likewise.
391 * include/sys/times.h: Likewise.
392 * include/sys/uio.h: Likewise.
393 * include/sys/utsname.h: Likewise.
394 * include/sys/wait.h: Likewise.
395 * include/termios.h: Likewise.
396 * include/time.h: Likewise.
397 * include/ulimit.h: Likewise.
398 * include/unistd.h: Likewise.
399 * include/utime.h: Likewise.
400 * include/wchar.h: Likewise.
401 * include/wctype.h: Likewise.
402 * include/wordexp.h: Likewise.
404 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
406 * time/time.h: TIME_UTC must be a macro.
407 Make timespec_get available for ISO C11 only as well.
409 2012-02-24 Ulrich Drepper <drepper@gmail.com>
411 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
412 Reported by Peng Haitao <penght@cn.fujitsu.com>.
414 2012-02-24 Joseph Myers <joseph@codesourcery.com>
416 * configure.in: Use -o not -a in test for unsupported multi-arch.
418 2012-02-24 Joseph Myers <joseph@codesourcery.com>
420 * manual/texinfo.tex: Update to version 2012-01-19.16.
422 2012-02-24 Joseph Myers <joseph@codesourcery.com>
424 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
426 2012-02-24 Roland McGrath <roland@hack.frob.com>
429 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
430 * manual/fdl-1.3.texi: New file.
431 * manual/fdl-1.1.texi: File removed.
434 * manual/libc.texinfo (FDL_VERSION): New @set.
435 Use it for mention of FDL in cover text.
436 (Documentation License): Use it in @include file name.
438 2012-02-22 Joseph Myers <joseph@codesourcery.com>
439 Roland McGrath <roland@hack.frob.com>
442 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
443 not LONG_LONG_MAX and LONG_LONG_MIN.
444 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
445 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
447 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
449 2012-02-22 Joseph Myers <joseph@codesourcery.com>
453 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
454 manipulate bits before adding and subtracting TWO23[sx].
455 * math/libm-test.inc (nearbyint_test): Add more tests.
457 2012-02-22 Joseph Myers <joseph@codesourcery.com>
460 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
461 bits before adding and subtracting TWO23[sx].
462 * math/libm-test.inc (rint_test): Add more tests.
463 (rint_test_tonearest): Likewise.
464 (rint_test_towardzero): Likewise.
465 (rint_test_downward): Likewise.
466 (rint_test_upward: Likewise.
468 2012-02-22 Joseph Myers <joseph@codesourcery.com>
471 * include/stdc-predef.h: New file. Extracted from features.h.
472 * include/features.h: Include stdc-predef.h.
473 * Makefile (headers): Add stdc-predef.h.
474 * CONFORMANCE (Compiler limitations): Update.
476 2012-02-22 Joseph Myers <joseph@codesourcery.com>
478 * manual/libc.texinfo (VERSION, UPDATED): Revert.
480 2012-02-21 David S. Miller <davem@davemloft.net>
482 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
483 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
485 2012-02-20 David S. Miller <davem@davemloft.net>
487 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
488 using a normal save/restore sequence, rather than allocating a
489 dummy stack frame just to store a frame pointer and restore.
490 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
492 2012-02-21 Joseph Myers <joseph@codesourcery.com>
494 * manual/install.texi: Fix stray word in line-wrapped comment.
496 2012-02-20 David S. Miller <davem@davemloft.net>
498 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
499 both binutils and gcc support GOTDATA.
501 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
502 "rd %pc" in the PIC register setup sequences.
504 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
505 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
506 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
507 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
508 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
509 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
510 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
511 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
512 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
513 (SYSCALL_ERROR_HANDLER): Likewise.
514 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
515 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
516 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
517 (SYSCALL_ERROR_HANDLER): Likewise.
519 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
520 (HAVE_GCC_GOTDATA): New.
521 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
522 relocation support in both binutils and gcc.
523 * sysdeps/sparc/elf/configure: Regenerate.
525 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
526 * sysdeps/sparc/sparc32/elf/configure: Delete.
527 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
528 * sysdeps/sparc/sparc64/elf/configure: Delete.
529 * sysdeps/sparc/elf/configure.in: New file.
530 * sysdeps/sparc/elf/configure: Generate.
532 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
533 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
534 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
535 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
536 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
538 2012-02-21 Joseph Myers <joseph@codesourcery.com>
540 * manual/install.texi: Do not mention specific glibc version
542 * manual/libc.texinfo (VERSION, UPDATED): Update.
543 (@copying): Use @copyright{} and range of years.
545 2012-02-21 Joseph Myers <joseph@codesourcery.com>
548 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
549 [crti.S not in sysdirs] (generated): Do not append.
550 [crti.S not in sysdirs] (omit-deps): Likewise.
551 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
552 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
553 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
554 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
555 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
557 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
558 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
559 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
560 * csu/defs.awk: Remove file.
561 * sysdeps/generic/initfini.c: Likewise.
562 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
564 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
567 2012-02-20 Joseph Myers <joseph@codesourcery.com>
569 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
570 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
571 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
572 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
573 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
574 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
576 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
577 (__EPOLL_PACKED): Define to empty if not defined by
579 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
580 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
583 2012-02-20 Joseph Myers <joseph@codesourcery.com>
585 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
586 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
587 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
588 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
590 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
591 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
594 2012-02-20 Joseph Myers <joseph@codesourcery.com>
596 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
598 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
599 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
600 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
601 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
603 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
605 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
606 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
608 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
610 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
611 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
613 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
615 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
618 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
620 * math/w_acos.c: Use non-signaling floating-point comparisons.
621 * math/w_acosf.c: Likewise.
622 * math/w_acosh.c: Likewise.
623 * math/w_acoshf.c: Likewise.
624 * math/w_acoshl.c: Likewise.
625 * math/w_acosl.c: Likewise.
626 * math/w_asin.c: Likewise.
627 * math/w_asinf.c: Likewise.
628 * math/w_asinl.c: Likewise.
629 * math/w_atanh.c: Likewise.
630 * math/w_atanhf.c: Likewise.
631 * math/w_atanhl.c: Likewise.
632 * math/w_exp2.c: Likewise.
633 * math/w_exp2f.c: Likewise.
634 * math/w_exp2l.c: Likewise.
635 * math/w_j0.c: Likewise.
636 * math/w_j0f.c: Likewise.
637 * math/w_j0l.c: Likewise.
638 * math/w_j1.c: Likewise.
639 * math/w_j1f.c: Likewise.
640 * math/w_j1l.c: Likewise.
641 * math/w_jn.c: Likewise.
642 * math/w_jnf.c: Likewise.
643 * math/w_log.c: Likewise.
644 * math/w_log10.c: Likewise.
645 * math/w_log10f.c: Likewise.
646 * math/w_log10l.c: Likewise.
647 * math/w_log2.c: Likewise.
648 * math/w_log2f.c: Likewise.
649 * math/w_log2l.c: Likewise.
650 * math/w_logf.c: Likewise.
651 * math/w_logl.c: Likewise.
652 * math/w_sqrt.c: Likewise.
653 * math/w_sqrtf.c: Likewise.
654 * math/w_sqrtl.c: Likewise.
655 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
656 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
657 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
658 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
659 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
661 2012-02-19 Joseph Myers <joseph@codesourcery.com>
664 * manual/string.texi (strnlen): Use correct parameter name in
665 equivalent expression.
667 2012-02-19 Joseph Myers <joseph@codesourcery.com>
670 * manual/users.texi (seteuid): Consistently use neweuid for
673 2012-02-19 Joseph Myers <joseph@codesourcery.com>
676 * manual/nss.texi (Services in the NSS configuration): Correct
677 list of services in example configuration file.
679 2012-02-19 Nick Bowler <nbowler@draconx.ca>
682 * manual/arith.texi: Remove statements about negative zero
683 behaving identically to zero.
685 2012-02-18 Joseph Myers <joseph@codesourcery.com>
688 * manual/install.texi: Do not document upgrading from libc5.
690 2012-02-18 Joseph Myers <joseph@codesourcery.com>
693 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
695 2012-02-18 David S. Miller <davem@davemloft.net>
697 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
698 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
700 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
702 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
704 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
705 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
706 * sysdeps/sparc/crtn.S: Likewise.
708 2012-02-17 Ulrich Drepper <drepper@gmail.com>
710 * aout/Makefile: Remove.
712 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
715 * manual/examples/argp-ex1.c (main): Format definition in GNU
717 * manual/examples/argp-ex2.c (main): Likewise.
718 * manual/examples/argp-ex3.c (main): Likewise.
719 * manual/examples/argp-ex4.c (main): Likewise.
720 * manual/examples/longopt.c (main): Use new-style prototype
722 * manual/examples/strncat.c (main): Specify return type and use
723 (void) for arguments.
724 * manual/examples/subopt.c (main): Use char **argv argument.
726 2012-02-17 Joseph Myers <joseph@codesourcery.com>
729 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
732 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
735 * manual/string.texi (strchr): Change when strchrnul is
738 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
741 * manual/locale.texi (setlocale): Document LOCPATH.
743 2012-02-17 Joseph Myers <joseph@codesourcery.com>
746 * manual/process.texi (execle): Move @dots{} before last argument.
748 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
751 * manual/charset.texi (Generic Charset Conversion): Fix typo
752 (LC_TYPE -> LC_CTYPE).
754 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
757 * manual/arith.texi (scalbn): Use @var{} on parameter names.
761 (scalblnf): Likewise.
762 (scalblnl): Likewise.
763 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
767 * manual/filesys.texi (telldir): Use braces around return type.
768 * manual/llio.texi (mmap): Add space after comma.
770 * manual/math.texi (jn): Use @var{} on parameter names.
776 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
778 * manual/resource.texi (ulimit): Use @dots{} instead of literal
780 (sched_get_priority_min): Remove semicolon on @deftypefun line.
781 (sched_get_priority_max): Likewise.
782 * manual/signal.texi (sigvec): Add space after comma.
783 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
785 (if_indextoname): Likewise.
786 (if_freenameindex): Likewise.
787 (sendto): Use ',' instead of '.' in prototype.
788 * manual/startup.texi (syscall): Use @dots{} instead of literal
790 * manual/stdio.texi (__fpending): Separate initial words of
791 paragraph from @deftypefun line.
792 * manual/syslog.texi (syslog): Use @dots{} instead of literal
794 (vsyslog): Use @var{} on parameter names.
795 * manual/terminal.texi (stty): Use @var{} on parameter names.
796 * manual/users.texi (getutmp): Use @var{} on parameter names.
797 (getutmpx): Likewise.
799 2012-02-17 Joseph Myers <joseph@codesourcery.com>
802 * manual/stdio.texi (fopen): Fix typos in description of
805 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
808 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
809 get clock_id definition.
811 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
814 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
815 (madvise): Cast every argument to void on its own.
817 2012-02-17 Joseph Myers <joseph@codesourcery.com>
820 * manual/startup.texi (Exit Status): Fix typo.
822 2012-02-17 Joseph Myers <joseph@codesourcery.com>
825 * manual/examples/argp-ex1.c: Include <stdlib.h>.
826 * manual/examples/argp-ex2.c: Likewise.
827 * manual/examples/argp-ex3.c: Likewise.
829 2012-02-16 Richard Henderson <rth@redhat.com>
831 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
832 * sysdeps/s390/s390-32/initfini.c: Remove.
833 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
834 * sysdeps/s390/s390-64/initfini.c: Remove.
836 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
838 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
839 compiler output for sysdeps/generic/initfini.c.
840 * sysdeps/sh/elf/initfini.c: Remove file.
842 2012-02-16 David S. Miller <davem@davemloft.net>
845 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
847 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
848 * sysdeps/sparc/crti.S: New file.
849 * sysdeps/sparc/crtn.S: New file.
850 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
851 * sysdeps/sparc/sparc64/Makefile: Likewise.
853 2012-02-15 Mike Frysinger <vapier@gentoo.org>
856 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
858 2012-02-15 Roland McGrath <roland@hack.frob.com>
861 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
863 * mach/devstream.c (cookie_io_functions_t): Macro removed.
864 (write, read, close): Likewise.
865 Patch by Aurelien Jarno <aurelien@aurel32.net>.
867 2012-02-15 Joseph Myers <joseph@codesourcery.com>
869 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
870 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
871 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
872 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
874 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
875 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
878 2012-02-14 Marek Polacek <polacek@redhat.com>
880 * sysdeps/x86_64/crti.S: New file.
881 * sysdeps/x86_64/crtn.S: New file.
882 * sysdeps/x86_64/elf/initfini.c: Remove file.
884 2012-02-13 Joseph Myers <joseph@codesourcery.com>
886 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
887 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
888 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
889 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
891 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
892 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
895 2012-02-13 Joseph Myers <joseph@codesourcery.com>
897 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
898 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
899 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
900 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
902 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
903 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
906 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
908 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
909 __feraiseexcept instead of feraiseexcept.
911 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
912 nanosleep invocations.
913 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
914 strings, and add error checking for a nanosleep invocations.
916 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
918 Replace FSF snail mail address with URLs, as per GNU coding standards.
919 Most of the snail mail addresses were wrong anyway, and omitting
920 them makes the source code easier to maintain. Almost all of the
921 changes are to license notices and to locale LC_IDENTIFICATION
922 addresses, except for this one:
923 * manual/libc.texinfo: In "Published by", give the FSF's URL,
924 not its snail mail address.
926 2012-02-09 Richard Henderson <rth@twiddle.net>
928 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
929 of kernel-features.h.
931 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
933 2012-02-08 Marek Polacek <polacek@redhat.com>
935 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
936 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
937 * sysdeps/gnu/_G_config.h: Likewise.
938 * sysdeps/generic/_G_config.h: Likewise.
940 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
942 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
944 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
946 * sysdeps/powerpc/powerpc32/crti.S: New file.
947 * sysdeps/powerpc/powerpc32/crtn.S: New file.
948 * sysdeps/powerpc/powerpc64/crti.S: New file.
949 * sysdeps/powerpc/powerpc64/crtn.S: New file.
951 * Makeconfig (have-initfini): Don't set.
952 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
953 * configure.in (nopic_initfini): Don't substitute.
954 * config.h.in (HAVE_INITFINI): Don't #undef.
955 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
956 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
958 2012-02-08 Joseph Myers <joseph@codesourcery.com>
960 Support crti.S and crtn.S provided directly by architectures.
961 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
962 [crti.S in sysdirs] (omit-deps): Likewise.
963 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
964 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
965 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
966 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
967 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
968 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
969 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
970 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
971 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
972 compiler output for sysdeps/generic/initfini.c.
973 * sysdeps/i386/elf/Makefile: Remove file.
974 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
976 2012-02-07 Marek Polacek <polacek@redhat.com>
978 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
979 * sysdeps/gnu/_G_config.h: Likewise.
980 * sysdeps/mach/hurd/_G_config.h: Likewise.
982 2012-02-07 Marek Polacek <polacek@redhat.com>
984 * math/Makefile (tests): Add tst-CMPLX2.
985 * math/tst-CMPLX2.c: New file.
987 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
989 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
991 * math/libm-test.inc (jn_test): Add missing L suffix.
993 2012-02-06 Marek Polacek <polacek@redhat.com>
995 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
996 * sysdeps/i386/fpu/e_powf.S: Likewise.
997 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
998 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
999 * sysdeps/i386/fpu/e_acosh.S: Likewise.
1000 * sysdeps/i386/fpu/e_pow.S: Likewise.
1001 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
1002 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
1003 * sysdeps/i386/fpu/s_expm1.S: Likewise.
1004 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
1005 * sysdeps/i386/fpu/e_log2.S: Likewise.
1006 * sysdeps/i386/fpu/e_log2l.S: Likewise.
1007 * sysdeps/i386/fpu/e_scalb.S: Likewise.
1008 * sysdeps/i386/fpu/e_powl.S: Likewise.
1009 * sysdeps/i386/fpu/s_log1p.S: Likewise.
1010 * sysdeps/i386/fpu/e_log10f.S: Likewise.
1011 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
1012 * sysdeps/i386/fpu/e_logl.S: Likewise.
1013 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
1014 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
1015 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
1016 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
1017 * sysdeps/i386/fpu/e_log2f.S: Likewise.
1018 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
1019 * sysdeps/i386/fpu/e_log.S: Likewise.
1020 * sysdeps/i386/fpu/s_cexp.S: Likewise.
1021 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
1022 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
1023 * sysdeps/i386/fpu/e_logf.S: Likewise.
1024 * sysdeps/i386/fpu/e_log10l.S: Likewise.
1025 * sysdeps/i386/fpu/e_atanh.S: Likewise.
1026 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
1027 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
1028 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
1029 * sysdeps/i386/fpu/e_log10.S: Likewise.
1030 * sysdeps/i386/fpu/s_frexp.S: Likewise.
1031 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
1032 * sysdeps/i386/fpu/s_asinh.S: Likewise.
1033 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
1034 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
1035 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
1036 * sysdeps/i386/asm-syntax.h: Likewise.
1037 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
1038 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
1039 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
1040 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
1041 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
1042 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
1043 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
1044 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
1045 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
1046 * sysdeps/powerpc/sysdep.h: Likewise.
1047 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
1048 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
1050 2012-02-06 Joseph Myers <joseph@codesourcery.com>
1053 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
1055 2012-02-06 Joseph Myers <joseph@codesourcery.com>
1057 * sysdeps/i386/sysdep.h: Include <features.h>.
1058 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
1061 2012-02-05 Joseph Myers <joseph@codesourcery.com>
1063 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
1065 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
1068 2012-02-03 Joseph Myers <joseph@codesourcery.com>
1070 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
1071 (SETUP_PIC_REG): Use GET_PC_THUNK.
1072 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
1075 2012-02-03 Joseph Myers <joseph@codesourcery.com>
1077 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
1078 for non-PIC compilation.
1079 (SETUP_PIC_REG): Add .p2align directive.
1080 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
1081 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
1082 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
1083 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
1084 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
1085 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
1086 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
1087 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
1088 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
1089 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
1090 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
1091 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
1092 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
1093 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
1094 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
1095 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
1096 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
1097 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
1098 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
1099 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
1100 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
1101 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
1102 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
1103 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
1104 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
1105 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
1106 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
1107 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
1108 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
1109 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
1110 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
1111 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
1112 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
1113 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
1114 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
1115 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
1116 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
1117 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
1118 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
1119 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
1120 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
1122 2012-02-03 Joseph Myers <joseph@codesourcery.com>
1124 * math/tst-CMPLX.c: Include <stdio.h>.
1126 2012-01-31 Joseph Myers <joseph@codesourcery.com>
1128 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
1130 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
1131 * sysdeps/sparc/bits/mathdef.h: Likewise.
1133 2012-01-31 Marek Polacek <polacek@redhat.com>
1135 * libio/libio.h: Don't define _PARAMS.
1136 * locale/programs/config.h: Don't define PARAMS.
1137 * stdlib/strtol_l.c: Likewise.
1138 (__strtol_l): Remove PARAMS from the prototype.
1140 2012-01-31 Ulrich Drepper <drepper@gmail.com>
1142 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
1143 names. Just use the correct names. Remove unnecessary wrapper
1145 * malloc/arena.c: Likewise.
1146 * malloc/hooks.c: Likewise.
1148 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
1149 ARENA_TEST says not to. Simplify test for creation of a new arena.
1150 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
1152 2012-01-30 Ulrich Drepper <drepper@gmail.com>
1154 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
1156 (update_get_addr): New function.
1157 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
1158 GET_ADDR_MODULE parameter.
1160 2012-01-30 Joseph Myers <joseph@codesourcery.com>
1162 * crypt/cert.c: Remove __STDC__ conditionals.
1163 * crypt/crypt-entry.c: Likewise.
1164 * crypt/crypt_util.c: Likewise.
1165 * libio/filedoalloc.c: Likewise.
1166 * libio/fileops.c: Likewise.
1167 * libio/genops.c: Likewise.
1168 * libio/iofclose.c: Likewise.
1169 * libio/iofdopen.c: Likewise.
1170 * libio/iofopen.c: Likewise.
1171 * libio/iofopen64.c: Likewise.
1172 * libio/iogetdelim.c: Likewise.
1173 * libio/iopopen.c: Likewise.
1174 * libio/obprintf.c: Likewise.
1175 * libio/oldfileops.c: Likewise.
1176 * libio/oldiofclose.c: Likewise.
1177 * libio/oldiofdopen.c: Likewise.
1178 * libio/oldiofopen.c: Likewise.
1179 * libio/oldiopopen.c: Likewise.
1180 * libio/wfiledoalloc.c: Likewise.
1181 * libio/wgenops.c: Likewise.
1182 * locale/programs/xmalloc.c: Likewise.
1183 * misc/syslog.c: Likewise.
1184 * stdio-common/xbug.c: Likewise.
1185 * string/memchr.c: Likewise.
1186 * string/memcmp.c: Likewise.
1187 * string/memrchr.c: Likewise.
1188 * string/rawmemchr.c: Likewise.
1189 * sysdeps/posix/getcwd.c: Likewise.
1190 * time/strftime_l.c: Likewise.
1192 2012-01-30 Joseph Myers <joseph@codesourcery.com>
1194 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
1195 * config.make.in (config-cflags-sse2avx): Define.
1196 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
1199 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
1201 * scripts/config.guess: Update from upstream config git repository.
1202 * scripts/config.sub: Likewise.
1204 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
1206 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
1208 (R_TILEPRO_*, R_TILEGX_*): New macros.
1210 * scripts/firstversions.awk: Fix bug in version range handling.
1212 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
1214 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
1216 * include/sys/epoll.h: New file.
1217 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
1220 2012-01-28 Ulrich Drepper <drepper@gmail.com>
1222 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
1223 Avoid unnecessary __WORDSIZE == 64 test.
1224 (fmaxf): Use VEX format if possible.
1229 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
1230 * math/math_private.h: Remove libc_fegetround* and
1232 * sysdeps/i386/configure.in: Check for -msse2avx.
1233 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
1234 also if SSE2AVX is defined.
1235 Remove libc_fegetround* and libc_fesetround*.
1236 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
1237 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
1238 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
1240 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
1241 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
1242 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
1243 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
1244 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
1246 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
1248 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1250 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
1252 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
1254 2012-01-27 Ulrich Drepper <drepper@gmail.com>
1257 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
1259 * Makeconfig (libm): Define.
1260 * elf/Makefile: Add rules to build and run tst-relsort1.
1261 * elf/tst-relsort1.c: New file.
1262 * elf/tst-relsort1mod1.c: New file.
1263 * elf/tst-relsort1mod2.c: New file.
1265 2012-01-27 Joseph Myers <joseph@codesourcery.com>
1267 * math/s_ldexp.c: Remove __STDC__ conditionals.
1268 * math/s_ldexpf.c: Likewise.
1269 * math/s_ldexpl.c: Likewise.
1270 * math/s_nextafter.c: Likewise.
1271 * math/s_nexttowardf.c: Likewise.
1272 * math/s_significand.c: Likewise.
1273 * math/s_significandf.c: Likewise.
1274 * math/s_significandl.c: Likewise.
1275 * math/w_jnl.c: Likewise.
1276 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
1277 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
1278 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
1279 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
1280 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
1281 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
1282 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
1283 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
1284 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
1285 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
1286 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
1287 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
1288 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
1289 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
1290 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
1291 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
1292 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
1293 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
1294 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
1295 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
1296 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
1297 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
1298 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
1299 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
1300 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
1301 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
1302 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
1303 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
1304 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
1305 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
1306 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
1307 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
1308 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
1309 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
1310 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
1311 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
1312 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
1313 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
1314 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
1315 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
1316 * sysdeps/ieee754/k_standard.c: Likewise.
1317 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
1318 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
1319 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
1320 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
1321 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
1322 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
1323 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
1324 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
1325 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
1326 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
1327 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
1328 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
1329 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
1330 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
1331 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
1332 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
1333 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
1334 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
1335 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
1336 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
1337 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
1338 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
1339 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
1340 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
1341 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
1342 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
1343 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
1344 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
1345 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
1346 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
1347 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
1348 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
1349 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
1350 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
1351 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
1352 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
1353 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
1354 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
1355 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
1356 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
1357 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
1358 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
1359 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
1360 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
1361 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
1362 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
1363 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
1364 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
1365 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
1366 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
1367 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
1368 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
1369 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
1370 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
1371 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
1372 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
1373 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
1374 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
1375 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
1376 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
1377 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
1378 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
1379 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
1380 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
1381 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
1382 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
1383 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
1384 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
1385 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
1386 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
1387 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
1388 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
1389 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
1390 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
1391 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
1392 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
1393 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
1394 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
1395 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
1396 * sysdeps/ieee754/s_matherr.c: Likewise.
1397 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
1398 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
1399 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
1400 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1402 2012-01-26 Joseph Myers <joseph@codesourcery.com>
1404 * crypt/md5.h: Remove __STDC__ conditionals.
1405 * libio/libioP.h: Likewise.
1406 * locale/programs/config.h: Likewise.
1407 * sysdeps/generic/sysdep.h: Likewise.
1408 * sysdeps/i386/asm-syntax.h: Likewise.
1409 * sysdeps/s390/asm-syntax.h: Likewise.
1410 * sysdeps/unix/sysdep.h: Likewise.
1411 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
1412 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
1414 2012-01-26 Joseph Myers <joseph@codesourcery.com>
1416 * libio/libio.h: Remove __STDC__ conditionals.
1417 * malloc/obstack.h: Likewise.
1418 * math/complex.h: Likewise.
1419 * math/math.h: Likewise.
1420 * sysdeps/generic/_G_config.h: Likewise.
1421 * sysdeps/gnu/_G_config.h: Likewise.
1422 * sysdeps/mach/hurd/_G_config.h: Likewise.
1423 * sysdeps/powerpc/bits/mathdef.h: Likewise.
1424 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
1425 * sysdeps/sparc/bits/mathdef.h: Likewise.
1427 2012-01-26 Ulrich Drepper <drepper@gmail.com>
1430 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
1431 Clean up HAS_* macros.
1432 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
1433 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
1435 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
1437 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
1438 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
1439 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
1440 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
1441 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
1443 2012-01-25 Joseph Myers <joseph@codesourcery.com>
1445 * elf/tst-unique3.cc (gets): Remove declaration.
1446 * elf/tst-unique3lib.cc (gets): Likewise.
1447 * elf/tst-unique3lib2.cc (gets): Likewise.
1448 * elf/tst-unique4.cc (gets): Likewise.
1450 2012-01-24 Ulrich Drepper <drepper@gmail.com>
1452 * include/stdio.h: Add C++ protection. Add gets declarations and
1454 * debug/tst-chk1.c: Don't declare gets here.
1455 * stdio-common/tst-gets.c: Likewise.
1457 2012-01-24 Joseph Myers <joseph@codesourcery.com>
1459 * posix/glob: Remove directory.
1461 2012-01-24 Joseph Myers <joseph@codesourcery.com>
1463 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
1465 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
1467 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
1468 of the non-standard EPFNOSUPPORT.
1470 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
1472 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
1473 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
1474 ANYWHERE set to 1 only on KERN_NO_SPACE error.
1476 2012-01-21 Ulrich Drepper <drepper@gmail.com>
1478 * wcsmbs/uchar.h: Test __STDC_VERSION__.
1480 2012-01-20 Ulrich Drepper <drepper@gmail.com>
1482 * nscd/aicache.c (addhstaiX): Do not cache negative results of
1484 * nscd/grpcache.c (cache_addgr): Likewise.
1485 * nscd/hstcache.c (cache_addhst): Likewise.
1486 * nscd/initgrcache.c (addinitgroupsX): Likewise.
1487 * nscd/pwdcache.c (cache_addpw): Likewise.
1488 * nscd/servicescache.c (cache_addserv): Likewise.
1490 2012-01-16 Ulrich Drepper <drepper@gmail.com>
1492 * malloc/malloc.c: Various cleanups.
1493 * malloc/hooks.c: Likewise.
1495 * stdlib/Makefile (tests): Add bug-fmtmsg1.
1496 * stdlib/bug-fmtmsg1.c: New file.
1498 * stdlib/fmtmsg.c (init): Add missing unlock.
1499 Patch by Peng Haitao <penght@cn.fujitsu.com>.
1501 2012-01-12 Marek Polacek <polacek@redhat.com>
1503 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
1506 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
1508 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
1509 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
1510 macro to ensure uniqueness of label name.
1511 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
1512 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
1514 2012-01-11 Ulrich Drepper <drepper@gmail.com>
1516 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
1518 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
1519 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
1520 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
1521 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
1523 2012-01-10 Ulrich Drepper <drepper@gmail.com>
1525 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
1527 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
1528 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
1529 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
1531 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
1533 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
1534 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
1535 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
1536 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
1538 * math/bits/math-finite.h: Add ldexp support.
1540 2012-01-10 Marek Polacek <polacek@redhat.com>
1542 * locale/programs/localedef.h (show_archive_content): Add noreturn
1545 2012-01-09 Ulrich Drepper <drepper@gmail.com>
1547 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
1549 2012-01-08 Ulrich Drepper <drepper@gmail.com>
1551 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
1553 * io/Makefile (headers): Add bits/poll2.h.
1555 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
1557 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
1558 typo #include statement.
1560 2012-01-08 Ulrich Drepper <drepper@gmail.com>
1562 * include/sys/cdefs.h: Define __attribute_alloc_size.
1563 * catgets/gencat.c: Add alloc_size attribute and apply consistently
1564 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
1565 * elf/pldd.c: Likewise.
1566 * iconv/iconv_charmap.c: Likewise.
1567 * iconv/iconvconfig.c: Likewise.
1568 * iconv/strtab.c: Likewise.
1569 * locale/programs/locale.c: Likewise.
1570 * locale/programs/localedef.h: Likewise.
1571 * locale/programs/simple-hash.c: Likewise.
1572 * nscd/nscd.h: Likewise.
1573 * nss/makedb.c: Likewise.
1574 * sysdeps/generic/ldconfig.h: Likewise.
1575 * locale/programs/localedef.c: Remove xmalloc prototype.
1576 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
1578 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
1580 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
1583 2012-01-08 Ulrich Drepper <drepper@gmail.com>
1585 * math/Makefile (tests): Add tst-CMPLX.
1586 * math/tst-CMPLX.c: New file.
1588 * math/complex.h (CMPLXL): Fix typo.
1590 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
1591 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
1593 * debug/tst-chk1.c: Add poll and ppoll tests.
1594 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
1595 * include/sys/poll.h: Add hidden proto for ppoll.
1596 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
1597 * sysdeps/mach/hurd/ppoll.c: Likewise.
1598 * io/ppoll.c: Likewise.
1599 * debug/poll_chk.c: New file.
1600 * debug/ppoll_chk.c: New file.
1601 * include/bits/poll2.h: New file.
1602 * io/bits/poll2.h: New file.
1605 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
1607 * configure.in: static is always set to yes. Remove.
1608 * config.make.in: Don't set build-static.
1609 * Makeconfig: Remove use of build-static.
1610 * dlfcn/Makefile: Likewise.
1611 * elf/Makefile: Likewise.
1612 * math/Makefile: Likewise.
1613 * misc/Makefile: Likewise.
1614 * nptl/Makefile: Likewise.
1615 * sysdeps/mach/hurd/Makefile: Likewise.
1617 * configure.in: PWD_P is not used anymore.
1618 * config.make.in: Remove PWD_P entry.
1620 * configure.in: Remove last remnants of RANLIB.
1621 No need to check for signed size_t anymore.
1622 Don't set libc_commonpagesize and libc_relro_required here for Alpha
1624 Remove __builtin_expect test because we require at least gcc 3.4.
1625 * aclocal.m4: Likewise.
1627 * wcsmbs/mbrtoc16.c: Implement using towc function.
1628 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
1629 * wcsmbs/wcsmbsload.c: Likewise.
1630 * iconv/gconv_simple.c: Likewise.
1631 * iconv/gconv_int.h: Likewise.
1632 * iconv/gconv_builtin.h: Likewise.
1633 * iconv/iconv_prog.c: Remove CHAR16 handling.
1635 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
1637 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
1639 * configure.in: Remove --with-elf and --enable-bounded options.
1640 Dont set base_machine for ia64. More non-ELF conditions removed.
1641 Remove testing and setting of leading underscore information.
1642 * config.make.in (build-bounded): Set to no.
1643 * config.h.in: Remove NO_UNDERSCORES entry.
1644 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
1646 * csu/start.c: Remove !NO_UNDERSCORE code.
1647 * locale/localeinfo.h: Likewise.
1648 * sysdeps/generic/machine-gmon.h: Likewise.
1649 * sysdeps/generic/sysdep.h: Likewise.
1650 * sysdeps/i386/sysdep.h: Likewise.
1651 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
1652 * sysdeps/mach/sysdep.h: Likewise.
1653 * sysdeps/s390/s390-32/sysdep.h: Likewise.
1654 * sysdeps/s390/s390-64/sysdep.h: Likewise.
1655 * sysdeps/sh/sysdep.h: Likewise.
1656 * sysdeps/sparc/sparc32/alloca.S: Likewise.
1657 * sysdeps/unix/i386/sysdep.S: Likewise.
1658 * sysdeps/unix/sparc/start.c: Likewise.
1659 * sysdeps/unix/sparc/sysdep.S: Likewise.
1660 * sysdeps/unix/sparc/sysdep.h: Likewise.
1661 * sysdeps/unix/start.c: Likewise.
1662 * sysdeps/unix/x86_64/sysdep.S: Likewise.
1663 * sysdeps/x86_64/sysdep.h: Likewise.
1665 2012-01-07 Ulrich Drepper <drepper@gmail.com>
1668 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
1670 * argp/argp-fmtstream.h: Use const instead __const.
1671 * argp/argp.h: Likewise.
1672 * assert/assert.h: Likewise.
1673 * bits/fenv.h: Likewise.
1674 * bits/sched.h: Likewise.
1675 * bits/sigset.h: Likewise.
1676 * bits/sigthread.h: Likewise.
1677 * catgets/nl_types.h: Likewise.
1678 * conform/data/pthread.h-data: Likewise.
1679 * crypt/crypt-private.h: Likewise.
1680 * crypt/crypt.h: Likewise.
1681 * crypt/crypt_util.c: Likewise.
1682 * ctype/ctype.h: Likewise.
1683 * debug/execinfo.h: Likewise.
1684 * debug/mbsnrtowcs_chk.c: Likewise.
1685 * debug/mbsrtowcs_chk.c: Likewise.
1686 * debug/wcsnrtombs_chk.c: Likewise.
1687 * debug/wcsrtombs_chk.c: Likewise.
1688 * debug/wcstombs_chk.c: Likewise.
1689 * dirent/dirent.h: Likewise.
1690 * dlfcn/dlfcn.h: Likewise.
1691 * elf/neededtest4.c: Likewise.
1692 * grp/grp.h: Likewise.
1693 * gshadow/gshadow.h: Likewise.
1694 * iconv/gconv.h: Likewise.
1695 * iconv/gconv_int.h: Likewise.
1696 * iconv/gconv_simple.c: Likewise.
1697 * iconv/iconv.h: Likewise.
1698 * iconv/loop.c: Likewise.
1699 * iconv/skeleton.c: Likewise.
1700 * include/aio.h: Likewise.
1701 * include/aliases.h: Likewise.
1702 * include/argz.h: Likewise.
1703 * include/arpa/inet.h: Likewise.
1704 * include/assert.h: Likewise.
1705 * include/dirent.h: Likewise.
1706 * include/dlfcn.h: Likewise.
1707 * include/execinfo.h: Likewise.
1708 * include/fcntl.h: Likewise.
1709 * include/fenv.h: Likewise.
1710 * include/glob.h: Likewise.
1711 * include/grp.h: Likewise.
1712 * include/libintl.h: Likewise.
1713 * include/mntent.h: Likewise.
1714 * include/netdb.h: Likewise.
1715 * include/pwd.h: Likewise.
1716 * include/rpc/netdb.h: Likewise.
1717 * include/sched.h: Likewise.
1718 * include/search.h: Likewise.
1719 * include/shadow.h: Likewise.
1720 * include/signal.h: Likewise.
1721 * include/stdio.h: Likewise.
1722 * include/stdlib.h: Likewise.
1723 * include/string.h: Likewise.
1724 * include/sys/socket.h: Likewise.
1725 * include/sys/stat.h: Likewise.
1726 * include/sys/statfs.h: Likewise.
1727 * include/sys/statvfs.h: Likewise.
1728 * include/sys/syslog.h: Likewise.
1729 * include/sys/time.h: Likewise.
1730 * include/sys/uio.h: Likewise.
1731 * include/time.h: Likewise.
1732 * include/unistd.h: Likewise.
1733 * include/utmp.h: Likewise.
1734 * include/wchar.h: Likewise.
1735 * include/wctype.h: Likewise.
1736 * inet/aliases.h: Likewise.
1737 * inet/arpa/inet.h: Likewise.
1738 * inet/netinet/ether.h: Likewise.
1739 * inet/netinet/in.h: Likewise.
1740 * intl/libintl.h: Likewise.
1741 * io/bits/fcntl2.h: Likewise.
1742 * io/fcntl.h: Likewise.
1743 * io/ftw.h: Likewise.
1744 * io/sys/poll.h: Likewise.
1745 * io/sys/stat.h: Likewise.
1746 * io/sys/statfs.h: Likewise.
1747 * io/sys/statvfs.h: Likewise.
1748 * io/utime.h: Likewise.
1749 * libio/bits/stdio.h: Likewise.
1750 * libio/bits/stdio2.h: Likewise.
1751 * libio/libio.h: Likewise.
1752 * libio/libioP.h: Likewise.
1753 * libio/stdio.h: Likewise.
1754 * locale/lc-ctype.c: Likewise.
1755 * locale/locale.h: Likewise.
1756 * login/utmp.h: Likewise.
1757 * malloc/arena.c: Likewise.
1758 * malloc/malloc.c: Likewise.
1759 * malloc/malloc.h: Likewise.
1760 * malloc/mcheck.c: Likewise.
1761 * malloc/mtrace.c: Likewise.
1762 * math/bits/mathcalls.h: Likewise.
1763 * math/fenv.h: Likewise.
1764 * math/math_private.h: Likewise.
1765 * misc/bits/error.h: Likewise.
1766 * misc/bits/syslog.h: Likewise.
1767 * misc/err.h: Likewise.
1768 * misc/error.h: Likewise.
1769 * misc/fstab.h: Likewise.
1770 * misc/mntent.h: Likewise.
1771 * misc/regexp.h: Likewise.
1772 * misc/search.h: Likewise.
1773 * misc/sgtty.h: Likewise.
1774 * misc/sys/mman.h: Likewise.
1775 * misc/sys/syslog.h: Likewise.
1776 * misc/sys/uio.h: Likewise.
1777 * misc/sys/xattr.h: Likewise.
1778 * misc/ttyent.h: Likewise.
1779 * nis/rpcsvc/ypclnt.h: Likewise.
1780 * nss/nss.h: Likewise.
1781 * posix/bits/unistd.h: Likewise.
1782 * posix/fnmatch.h: Likewise.
1783 * posix/glob.h: Likewise.
1784 * posix/sched.h: Likewise.
1785 * posix/spawn.h: Likewise.
1786 * posix/sys/wait.h: Likewise.
1787 * posix/unistd.h: Likewise.
1788 * posix/wordexp.h: Likewise.
1789 * pwd/pwd.h: Likewise.
1790 * resolv/netdb.h: Likewise.
1791 * resource/sys/resource.h: Likewise.
1792 * rt/aio.h: Likewise.
1793 * rt/bits/mqueue2.h: Likewise.
1794 * rt/mqueue.h: Likewise.
1795 * shadow/shadow.h: Likewise.
1796 * signal/signal.h: Likewise.
1797 * socket/send.c: Likewise.
1798 * socket/sendto.c: Likewise.
1799 * socket/sys/socket.h: Likewise.
1800 * stdio-common/printf.h: Likewise.
1801 * stdlib/bits/stdlib.h: Likewise.
1802 * stdlib/fmtmsg.h: Likewise.
1803 * stdlib/monetary.h: Likewise.
1804 * stdlib/stdlib.h: Likewise.
1805 * stdlib/ucontext.h: Likewise.
1806 * streams/stropts.h: Likewise.
1807 * string/argz.h: Likewise.
1808 * string/bits/string2.h: Likewise.
1809 * string/string.h: Likewise.
1810 * string/strings.h: Likewise.
1811 * sunrpc/rpc/auth.h: Likewise.
1812 * sunrpc/rpc/auth_des.h: Likewise.
1813 * sunrpc/rpc/clnt.h: Likewise.
1814 * sunrpc/rpc/netdb.h: Likewise.
1815 * sunrpc/rpc/pmap_clnt.h: Likewise.
1816 * sunrpc/rpc/xdr.h: Likewise.
1817 * sysdeps/generic/inttypes.h: Likewise.
1818 * sysdeps/generic/net/if.h: Likewise.
1819 * sysdeps/generic/sys/swap.h: Likewise.
1820 * sysdeps/gnu/net/if.h: Likewise.
1821 * sysdeps/gnu/utmpx.h: Likewise.
1822 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
1823 * sysdeps/i386/i486/bits/string.h: Likewise.
1824 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
1825 * sysdeps/s390/bits/string.h: Likewise.
1826 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
1827 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
1828 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
1829 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
1830 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
1831 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
1832 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
1833 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
1834 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
1835 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
1836 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
1837 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
1838 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
1839 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
1840 * sysdeps/unix/sysv/linux/readv.c: Likewise.
1841 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
1842 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
1843 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
1844 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
1845 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
1846 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
1847 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
1848 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
1849 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
1850 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
1851 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
1852 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
1853 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
1854 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
1855 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
1856 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
1857 * sysvipc/sys/ipc.h: Likewise.
1858 * sysvipc/sys/msg.h: Likewise.
1859 * sysvipc/sys/sem.h: Likewise.
1860 * sysvipc/sys/shm.h: Likewise.
1861 * termios/termios.h: Likewise.
1862 * time/sys/time.h: Likewise.
1863 * time/time.h: Likewise.
1864 * wcsmbs/bits/wchar2.h: Likewise.
1865 * wcsmbs/uchar.h: Likewise.
1866 * wcsmbs/wchar.h: Likewise.
1867 * wctype/wctype.h: Likewise.
1870 * Makeconfig: Remove all but ELF support including AIX support.
1871 * Makerules: Likewise.
1872 * config.h.in: Likewise.
1873 * config.make.in: Likewise.
1874 * configure: Likewise.
1875 * configure.in: Likewise.
1876 * csu/Makefile: Likewise.
1877 * csu/version.c: Likewise.
1878 * debug/Makefile: Likewise.
1879 * dlfcn/Makefile: Likewise.
1880 * elf/Makefile: Likewise.
1881 * extra-lib.mk: Likewise.
1882 * iconv/Makefile: Likewise.
1883 * include/libc-symbols.h: Likewise.
1884 * include/shlib-compat.h: Likewise.
1885 * resolv/Makefile: Likewise.
1886 * resolv/res_libc.c: Likewise.
1887 * rt/Makefile: Likewise.
1888 * sysdeps/i386/asm-syntax.h: Likewise.
1889 * sysdeps/i386/sysdep.h: Likewise.
1890 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
1891 * sysdeps/mach/sysdep.h: Likewise.
1892 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
1893 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
1894 * sysdeps/s390/asm-syntax.h: Likewise.
1895 * sysdeps/s390/s390-32/sysdep.h: Likewise.
1896 * sysdeps/s390/s390-64/sysdep.h: Likewise.
1897 * sysdeps/sh/sysdep.h: Likewise.
1898 * sysdeps/unix/sparc/sysdep.h: Likewise.
1899 * sysdeps/wordsize-32/divdi3.c: Likewise.
1900 * sysdeps/x86_64/sysdep.h: Likewise.
1902 * argp/Versions: Remove _argp_unlock_xxx.
1905 * abilist/ld.abilist: Update. Adjust for removal of tls option.
1906 * abilist/libBrokenLocale.abilist: Likewise.
1907 * abilist/libanl.abilist: Likewise.
1908 * abilist/libc.abilist: Likewise.
1909 * abilist/libcrypt.abilist: Likewise.
1910 * abilist/libdl.abilist: Likewise.
1911 * abilist/libm.abilist: Likewise.
1912 * abilist/libnsl.abilist: Likewise.
1913 * abilist/libpthread.abilist: Likewise.
1914 * abilist/libresolv.abilist: Likewise.
1915 * abilist/librt.abilist: Likewise.
1916 * abilist/libthread_db.abilist: Likewise.
1917 * abilist/libutil.abilist: Likewise.
1918 * abilist/libnss_db.abilist: New file.
1920 * scripts/abilist.awk: Add support for indirect functions.
1922 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
1924 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
1926 * shlib-versions: Remove entries for ports architectures.
1928 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
1930 * elf/stackguard-macros.h: Remove support for IA-64.
1931 * elf/tst-auditmod1.c: Likewise.
1932 * sysdeps/generic/ldsodefs.h: Likewise.
1934 * sysdeps/unix/sysv/linux/configure.in: Ports should define
1935 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
1939 * configure.in: Remove --enable-omitfp support.
1941 * config.make.in: Likewise.
1942 * Makeconfig: Likewise.
1943 * manual/install.texi: Likewise.
1945 In case anyone cares, the IA-64 architecture could move to ports.
1946 * sysdeps/ia64/*: Removed.
1947 * sysdeps/unix/sysv/linux/ia64/*: Removed.
1948 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
1951 * configure.in: Remove entries for unsupported architectures.
1954 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
1955 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
1957 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
1958 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
1959 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
1960 fall back to using wcrtomb.
1961 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
1962 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
1964 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
1965 * wcsmbs/tst-c16c32-1.c: New file.
1967 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
1970 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
1972 * elf/tst-unique3.cc: Add explicit declaration of gets.
1973 * elf/tst-unique3lib.cc: Likewise.
1974 * elf/tst-unique3lib2.cc: Likewise.
1975 * elf/tst-unique4.cc: Likewise.
1977 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
1979 2012-01-06 Joseph Myers <joseph@codesourcery.com>
1982 * assert/assert.h (static_assert): Don't define for C++.
1983 * libio/stdio.h (gets): Do declare for C++ <= C++11.
1984 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
1986 2012-01-03 Ulrich Drepper <drepper@gmail.com>
1988 * iconv/loop.c (single loop): Fix assertion in storing of
1991 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
1993 2012-01-01 Ulrich Drepper <drepper@gmail.com>
1995 * posix/getconf.c: Update copyright year.
1996 * nss/getent.c: Likewise.
1997 * nss/makedb.c: Likewise.
1998 * iconv/iconvconfig.c: Likewise.
1999 * iconv/iconv_prog.c: Likewise.
2000 * elf/ldconfig.c: Likewise.
2001 * elf/pldd.c: Likewise.
2002 * elf/sotruss.ksh: Likewise.
2003 * catgets/gencat.c: Likewise.
2004 * csu/version.c: Likewise.
2005 * elf/ldd.bash.in: Likewise.
2006 * elf/sprof.c (print_version): Likewise.
2007 * locale/programs/locale.c: Likewise.
2008 * locale/programs/localedef.c: Likewise.
2009 * login/programs/pt_chown.c: Likewise.
2010 * nscd/nscd.c (print_version): Likewise.
2011 * debug/xtrace.sh: Likewise.
2012 * malloc/memusage.sh: Likewise.
2013 * malloc/mtrace.pl: Likewise.
2014 * debug/catchsegv.sh: Likewise.
2016 2011-12-30 Jakub Jelinek <jakub@redhat.com>
2018 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
2021 2011-12-24 Ulrich Drepper <drepper@gmail.com>
2024 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
2025 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
2027 * iconv/gconv_int.h: Likewise.
2028 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
2029 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
2030 from libc for GLIBC_2.16.
2031 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
2032 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
2033 * wcsmbs/uchar.h: Really define mbstate_t.
2034 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
2035 * wcsmbs/c16rtomb.c: New file.
2036 * wcsmbs/mbrtoc16.c: New file.
2037 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
2039 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
2040 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
2042 * wcsmbs/wchar.h: Add missing __restrict.
2044 2011-12-23 Ulrich Drepper <drepper@gmail.com>
2047 * time/Makefile (routines): Add timespec_get.
2048 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
2049 * time/time.h: Define TIME_UTC and declare timespec_get. Define
2050 timespec for ISO C11.
2051 * time/timespec_get.c: New file.
2052 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
2053 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
2056 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
2057 * stdlib/stdlib.h: Declare aligned_alloc.
2058 * Versions.def: Add GLIBC_2.16 for libc.
2059 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
2062 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
2065 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
2069 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
2072 * assert/assert.h (static_assert): Define.
2074 * version.h: Update for 2.16 development version.
2077 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
2080 * version.h (RELEASE): Bump for 2.15 release.
2081 * include/features.h (__GLIBC_MINOR__): Bump to 15.
2083 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
2084 Patch by Marek Polacek <mpolacek@redhat.com>.
2086 * bits/byteswap.h: Protect long long constants with __extension__.
2087 * sysdeps/i386/bits/byteswap.h: Likewise.
2088 * sysdeps/ia64/bits/byteswap.h: Likewise.
2089 * sysdeps/s390/bits/byteswap.h: Likewise.
2090 * sysdeps/x86_64/bits/byteswap.h: Likewise.
2092 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
2095 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
2097 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
2099 2011-12-23 Marek Polacek <polacek@redhat.com>
2101 * elf/dl-addr.c (determine_info): Add inline keyword.
2102 * elf/tst-auditmod4b.c (check_avx): Likewise.
2103 * elf/tst-auditmod6b.c (check_avx): Likewise.
2104 * elf/tst-auditmod6c.c (check_avx): Likewise.
2105 * elf/tst-auditmod7b.c (check_avx): Likewise.
2107 2011-12-23 Ulrich Drepper <drepper@gmail.com>
2109 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
2112 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
2115 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
2116 processing for last bytes.
2118 2011-08-06 Bruno Haible <bruno@clisp.org>
2121 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
2122 U+0385, not to U+1FEE.
2125 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
2126 entry for U+00A5 U+0301.
2128 2011-12-22 Ulrich Drepper <drepper@gmail.com>
2131 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
2132 buffer for the output is too small.
2134 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
2138 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
2139 SSE flags if possible.
2141 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
2144 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
2145 processing for last bytes.
2147 2011-12-22 Joseph Myers <joseph@codesourcery.com>
2149 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
2150 (syscall-list-default-options, syscall-list-default-condition)
2151 (syscall-list-includes): Define.
2152 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
2153 list of ABIs and options and #if conditions for each ABI. Do not
2154 handle common syscalls between ABIs specially.
2155 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
2157 (syscall-list-variants, syscall-list-32bit-options)
2158 (syscall-list-32bit-condition, syscall-list-64bit-options)
2159 (syscall-list-64bit-condition): Define.
2160 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
2161 (syscall-list-variants, syscall-list-32bit-options)
2162 (syscall-list-32bit-condition, syscall-list-64bit-options)
2163 (syscall-list-64bit-condition): Define.
2164 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
2166 (syscall-list-variants, syscall-list-32bit-options)
2167 (syscall-list-32bit-condition, syscall-list-64bit-options)
2168 (syscall-list-64bit-condition): Define.
2169 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
2171 (syscall-list-variants, syscall-list-32bit-options)
2172 (syscall-list-32bit-condition, syscall-list-64bit-options)
2173 (syscall-list-64bit-condition): Define.
2175 2011-12-22 Ulrich Drepper <drepper@gmail.com>
2177 * locale/iso-639.def: Add brx entry.
2180 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
2181 Proposed by Mariusz_Cukr <marcukr@op.pl>.
2183 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
2184 __feraiseexcept_renamed.
2186 2011-12-21 Ulrich Drepper <drepper@gmail.com>
2189 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
2190 EPOLLET with unsigned values.
2191 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
2192 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
2194 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
2195 to large cancellation.
2196 * math/s_cacoshf.c: Likewise.
2197 * math/s_cacoshl.c: Likewise.
2199 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
2203 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
2204 * math/s_cacoshf.c: Likewise.
2205 * math/s_cacoshl.c: Likewise.
2207 2011-12-21 Ulrich Drepper <drepper@gmail.com>
2210 * iconv/gconv.h: Define __GCONV_SWAP.
2211 * iconvdata/unicode.c: The swap bit must be stored in __flags.
2212 * iconvdata/utf-16.c: Likewise.
2213 * iconvdata/utf-32.c: Likewise.
2215 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
2218 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
2219 numerator after shifting it by one limb.
2221 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
2223 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
2224 under [__USE_EXTERN_INLINES].
2226 2011-12-17 Ulrich Drepper <drepper@gmail.com>
2229 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
2231 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2233 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
2234 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
2236 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
2237 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
2238 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
2239 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
2240 for strncasecmp/strncasecmp_l compilation.
2241 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
2242 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
2244 2011-12-08 Marek Polacek <mpolacek@redhat.com>
2247 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
2250 2011-12-17 Ulrich Drepper <drepper@gmail.com>
2253 * time/tzfile.c (__tzfile_read): Check values from file header.
2255 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
2257 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
2258 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
2259 * powerpc/powerpc32/dl-start.S: Likewise.
2260 * powerpc/powerpc32/elf/start.S: Likewise.
2261 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
2262 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
2263 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
2264 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
2265 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
2266 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
2267 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
2268 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
2269 * powerpc/powerpc32/fpu/s_round.S: Likewise.
2270 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
2271 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
2272 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
2273 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
2274 * powerpc/powerpc32/memset.S: Likewise.
2275 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
2276 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
2277 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
2278 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
2279 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
2280 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
2281 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
2282 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
2283 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
2284 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
2285 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
2286 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
2287 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
2289 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2291 * math/libm-test.inc: Added more nearbyint tests.
2292 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
2293 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
2294 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
2295 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
2297 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
2299 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
2302 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
2304 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
2305 Add wcscpy-ssse3 wcscpy-c.
2306 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
2307 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
2308 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
2309 * sysdeps/x86_64/wcschr.S: New file.
2310 * sysdeps/x86_64/wcsrchr.S: New file.
2311 * string/test-strcmp.c: Remove checking of wcscmp function for
2313 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
2314 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
2315 wcsrchr-sse2 wcsrchr-c.
2316 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
2317 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
2318 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
2319 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
2320 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
2321 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
2322 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
2323 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
2324 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
2325 * wcsmbc/wcschr.c (WCSCHR): New macro.
2327 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
2329 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
2330 * wcsmbs/test-wcsrchr.c: New file.
2331 * string/test-strrchr.c: Add wcsrchr support.
2333 * wcsmbs/test-wcscpy.c: New file.
2334 * string/test-strcpy.c: Add wcscpy support.
2337 2011-12-10 Ulrich Drepper <drepper@gmail.com>
2339 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
2342 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
2345 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
2347 2011-12-04 Ulrich Drepper <drepper@gmail.com>
2349 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
2350 Minor optimizations.
2352 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
2353 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
2354 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
2356 2011-12-03 Ulrich Drepper <drepper@gmail.com>
2358 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
2359 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
2360 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
2361 for gcc to avoid warnings.
2362 * inet/Makefile (tests): Add tst-checks.
2363 * inet/tst-checks.c: New file.
2365 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
2368 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
2371 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
2372 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
2374 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
2376 2011-12-02 Ulrich Drepper <drepper@gmail.com>
2378 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
2381 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
2383 2011-11-29 Joseph Myers <joseph@codesourcery.com>
2385 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
2386 conditional on GCC version.
2387 (__arch_compare_and_exchange_val_8_acq)
2388 (__arch_compare_and_exchange_val_16_acq)
2389 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
2390 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
2391 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
2393 2011-12-02 Joseph Myers <joseph@codesourcery.com>
2395 * sysdeps/sh/backtrace.c: New file.
2397 2011-12-02 Andreas Schwab <schwab@redhat.com>
2399 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
2402 2011-12-01 Andreas Schwab <schwab@redhat.com>
2404 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
2405 falling back to utime.
2407 2011-11-30 Andreas Schwab <schwab@redhat.com>
2409 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
2410 expectations for float.
2412 2011-11-29 Andreas Schwab <schwab@redhat.com>
2414 * locale/weight.h (findidx): Add parameter len.
2415 * locale/weightwc.h (findidx): Likewise.
2416 * posix/fnmatch_loop.c (FCT): Adjust caller.
2417 * posix/regcomp.c (build_equiv_class): Likewise.
2418 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
2419 * posix/regexec.c (check_node_accept_bytes): Likewise.
2420 * string/strcoll_l.c (STRCOLL): Likewise.
2421 * string/strxfrm_l.c (STRXFRM): Likewise.
2423 2011-11-17 Ulrich Drepper <drepper@gmail.com>
2425 * Makefile.in: Remove CVSOPT handling.
2426 * configure.in: Remove use of AC_REVISION.
2427 * iconvdata/Makefile (distribute): No need to filter out CVS.
2428 * scripts/list-sources.sh: Remove CVS, subversion and monotone
2431 2011-11-16 Andreas Schwab <schwab@redhat.com>
2433 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
2434 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
2435 [USE_AS_STRNCASECMP_L]: Likewise.
2436 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
2437 NO_TLS_DIRECT_SEG_REFS.
2438 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
2439 Fix argument offsets for non-PIC.
2440 [USE_AS_STRNCASECMP_L]: Likewise.
2441 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
2442 NO_TLS_DIRECT_SEG_REFS.
2444 2011-11-15 Ulrich Drepper <drepper@gmail.com>
2446 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
2448 * locale/loadlocale.c (_nl_load_locale): Likewise.
2450 2011-11-15 Andreas Schwab <schwab@redhat.com>
2452 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
2453 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
2454 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
2455 (SYSCALL_GETTIME): Set errno on error.
2457 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
2458 count references to noai6ai_cached.
2460 2011-11-15 Ulrich Drepper <drepper@gmail.com>
2462 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
2464 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
2465 FD_CLOEXEC for /proc/self/maps.
2467 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
2468 FD_CLOEXEC for /proc/meminfo.
2470 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
2473 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
2474 FD_CLOEXEC for given file.
2476 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
2478 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
2479 FD_CLOEXEC for /etc/hosts.
2480 (_gethtent): Likewise.
2482 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
2484 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
2485 cancellation and set FD_CLOEXEC for /etc/netgroup.
2487 * nss/nss_files/files-key.c (search): Don't allow cancellation when
2488 reading /etc/publickey.
2490 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
2491 allow cancellation when reading /etc/group.
2493 * nss/nss_files/files-alias.c (internal_setent): Don't allow
2495 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
2497 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
2498 when using data file.
2500 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
2502 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
2503 (write_nis_obj): Use "c" and "e" in fopen.
2505 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
2507 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
2509 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
2511 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
2513 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
2516 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
2518 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
2520 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
2522 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
2523 file parsing and set FD_CLOEXEC.
2525 2011-11-14 Ulrich Drepper <drepper@gmail.com>
2527 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
2529 2011-11-14 Andreas Schwab <schwab@redhat.com>
2531 * malloc/arena.c (arena_get2): Don't call reused_arena when
2532 _int_new_arena failed.
2534 2011-11-14 Ulrich Drepper <drepper@gmail.com>
2536 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
2537 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
2538 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
2539 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
2540 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
2541 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
2542 to compile strcasecmp and strncasecmp.
2543 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
2544 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
2546 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
2548 2011-11-13 Ulrich Drepper <drepper@gmail.com>
2550 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
2551 locale-defines.sym to gen-as-const-headers.
2552 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
2553 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
2554 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
2555 to compile strcasecmp and strncasecmp.
2556 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
2557 strcasecmp_l and strncasecmp_l.
2558 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
2559 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
2560 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
2561 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
2562 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
2563 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
2564 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
2565 * sysdeps/i386/i686/multiarch/strncase.S: New file.
2566 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
2567 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
2568 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
2570 2011-11-12 Ulrich Drepper <drepper@gmail.com>
2572 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
2573 result of SYSDEP_GETTIME_CPU to retval.
2574 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
2575 parameter list to macro. Remove trailing semicolon. Adjust users.
2577 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
2580 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
2582 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
2584 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
2585 from unused variable.
2587 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
2589 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
2592 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
2595 * sunrpc/rpc_prot.c (rejected): Fix case value.
2597 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
2598 unsigned long long int to avoid warnings in shift.
2600 * posix/regex_internal.c (re_string_reconstruct): Actually use result
2602 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
2605 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
2606 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
2607 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
2609 * nis/nis_table.c (nis_list): Use variable of correct type for
2610 result of __follow_path call.
2612 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2614 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
2615 of math functions ceil, trunc, floor, round, and sqrt, when
2616 avaliable on the platform.
2617 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
2619 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
2620 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
2621 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
2623 2011-10-30 Marek Polacek <mpolacek@redhat.com>
2625 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
2626 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
2628 2011-11-11 Roland McGrath <roland@hack.frob.com>
2630 * include/unistd.h: Fix __readlink return type.
2631 Reported by Chris Metcalf <cmetcalf@tilera.com>.
2633 2011-11-11 Ulrich Drepper <drepper@gmail.com>
2635 * stdlib/ucontext.h: Undo last change for makecontext.
2637 2011-11-11 Andreas Schwab <schwab@redhat.com>
2639 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
2641 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
2642 * setjmp/setjmp.h: Mark functions as non-leaf.
2643 * setjmp/bits/setjmp2.h: Likewise.
2644 * stdlib/ucontext.h: Likewise.
2646 2011-11-10 Andreas Schwab <schwab@redhat.com>
2648 * malloc/arena.c (_int_new_arena): Don't increment narenas.
2649 (reused_arena): Don't check arena limit.
2650 (arena_get2): Atomically check arena limit.
2652 2011-11-08 Ulrich Drepper <drepper@gmail.com>
2654 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
2655 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
2657 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
2660 2011-11-07 Andreas Schwab <schwab@redhat.com>
2662 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
2663 handler when locking.
2665 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
2666 Fix size of allocated buffer.
2668 2011-11-04 Andreas Schwab <schwab@redhat.com>
2671 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
2672 declarations for long double functions.
2673 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
2675 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
2677 2011-11-03 Andreas Schwab <schwab@redhat.com>
2679 * nscd/nscd.c (main): Don't start AVC thread until credentials are
2682 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
2685 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
2687 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
2689 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
2691 * include/alloca.h (stackinfo_alloca_round): Define.
2692 (extend_alloca): Use it.
2693 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
2694 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
2697 * scripts/check-local-headers.sh: Ignore libaudit.h.
2699 * nscd/Makefile (extra-objs): Make recursively expanded.
2701 2011-11-01 Ulrich Drepper <drepper@gmail.com>
2703 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
2704 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
2706 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
2707 * posix/tst-rfc3484-2.c: Likewise.
2708 * posix/tst-rfc3484-3.c: Likewise.
2710 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
2712 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
2714 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
2715 process_vm_writev from libc using GLIBC_2.15 version.
2717 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
2719 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
2721 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
2724 2011-10-31 Ulrich Drepper <drepper@gmail.com>
2727 * nss/getent.c (initgroups_keys): Show error message in case no group
2730 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
2731 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
2732 __bump_nl_timestamp.
2733 * nscd/connections (nscd_init): When host database is served open
2734 netlink socket and request notification about configuration changes.
2735 (main_loop_poll): Track netlink file descriptor and bump timestamp
2736 in case data becomes available.
2737 (main_loop_epoll): Likewise.
2738 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
2739 (database_pers_head): Add extra_data fileds.
2740 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
2741 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
2742 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
2744 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
2745 in6ai data, call __free_in6ai.
2746 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
2748 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
2749 interface information. Reuse previous data if netlink timestamp
2751 (__bump_nl_timestamp): New function.
2752 (__free_in6ai): New function.
2754 2011-10-30 Ulrich Drepper <drepper@gmail.com>
2756 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
2757 close_not_cancel_no_status here.
2758 (__check_pf): Reorganize code a bit to not call close twice if OOM.
2760 2011-10-29 Ulrich Drepper <drepper@gmail.com>
2763 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
2766 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
2767 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
2768 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
2770 2011-07-03 Andreas Jaeger <aj@suse.de>
2773 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
2774 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
2775 * math/libm-test.inc (sin_test): Add test case.
2777 2011-10-29 Ulrich Drepper <drepper@gmail.com>
2780 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
2781 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
2783 * elf/chroot_canon.c (chroot_canon): Cleanups.
2785 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
2788 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
2789 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
2791 * string/test-strchr.c: Make usable for strchrnul testing.
2792 * string/test-strchrnul.c: New file.
2793 * string/Makefile (strop-tests): Add strchrnul.
2795 * po/it.po: Update from translation team.
2796 * po/es.po: Likewise.
2798 2011-10-28 Ulrich Drepper <drepper@gmail.com>
2800 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
2801 the three constants needed as parameters. Drop the others.
2802 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
2803 __m128i_strloadu_tolower.
2804 Create and initialize variable zero and use it in all the places
2805 where _mm_setzero_si128 was used.
2807 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
2808 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
2809 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
2810 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
2812 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
2813 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
2814 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
2815 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
2816 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
2817 __mpranred, __mptan.
2818 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
2819 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
2820 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
2821 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
2822 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
2823 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
2824 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
2825 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
2826 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
2828 2011-10-28 Andreas Schwab <schwab@redhat.com>
2830 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
2832 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
2834 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
2835 wide char related routines to wcsmbs subdir.
2837 2011-10-27 Andreas Schwab <schwab@redhat.com>
2840 * misc/sys/cdefs.h (__THROWNL): Define.
2841 * posix/unistd.h: Use __THREADNL instead of __THREAD
2842 for memory synchronization functions.
2844 2011-10-26 Roland McGrath <roland@hack.frob.com>
2847 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
2849 * manual/stdio.texi (Obstack Streams): Node removed.
2851 2011-10-26 Andreas Schwab <schwab@redhat.com>
2853 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
2854 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
2855 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
2857 * math/math_private.h (math_force_eval): Allow non-addressable
2859 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
2861 2011-10-25 Ulrich Drepper <drepper@gmail.com>
2863 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
2866 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
2867 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
2868 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
2869 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
2870 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
2871 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
2872 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
2873 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
2875 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
2876 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
2877 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
2878 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
2879 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
2880 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
2881 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
2882 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
2883 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
2884 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
2885 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
2886 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
2887 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
2888 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
2889 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
2890 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
2891 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
2892 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
2893 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
2895 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
2896 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
2898 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
2899 place. Use VEX encoding when compiling for AVX.
2901 2011-10-25 Andreas Schwab <schwab@redhat.com>
2903 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
2904 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
2906 * string/test-strchr.c (do_test): Don't generate NUL bytes.
2908 2011-10-25 Ulrich Drepper <drepper@gmail.com>
2910 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
2911 useless if() expression.
2912 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
2913 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
2914 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
2915 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
2916 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
2917 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
2918 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
2919 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
2920 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
2921 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
2922 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
2923 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
2924 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
2925 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
2926 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
2927 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
2928 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
2929 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
2930 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
2932 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
2934 2011-10-25 Andreas Schwab <schwab@redhat.com>
2936 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
2938 * elf/dl-fini.c (_dl_sort_fini): Likewise.
2940 2011-10-25 Ulrich Drepper <drepper@gmail.com>
2942 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
2943 .text section. Avoid duplicate constants.
2944 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
2945 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
2946 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
2947 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
2948 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
2949 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
2950 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
2951 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
2952 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
2953 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
2954 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
2955 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
2956 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
2957 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
2958 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
2959 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
2960 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
2961 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
2962 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
2963 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
2964 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
2965 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
2966 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
2967 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
2968 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
2969 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
2970 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
2971 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
2972 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
2973 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
2974 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
2975 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
2976 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
2977 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
2978 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
2979 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
2980 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
2981 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
2982 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
2983 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
2984 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
2985 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
2986 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
2987 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
2988 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
2990 2011-10-24 Ulrich Drepper <drepper@gmail.com>
2992 * sysdeps/x86_64/dla.h: Move to ...
2993 * sysdeps/x86_64/fpu/dla.h: ...here.
2994 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
2995 situations. Use __builtin_fma only for gcc 4.6 and up.
2997 * config.make.in: Add have-mfma4 entry.
2998 * configure.in: Substitute libc_cv_cc_fma4.
2999 * math/Makefile (dbl-only-routines): Add sincostab.
3000 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
3001 Use __sincostab not sincos.
3002 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
3004 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
3005 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
3006 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
3007 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
3009 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
3010 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
3011 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
3012 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
3014 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
3015 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
3017 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
3018 define aliases when function name is a macro.
3019 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
3020 sysdeps/ieee754/dbl-64/sincos.tbl.
3021 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
3022 fma4-enabled routines.
3023 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
3024 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
3025 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
3026 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
3027 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
3028 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
3029 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
3030 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
3031 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
3032 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
3033 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
3034 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
3035 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
3036 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
3037 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
3038 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
3039 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
3040 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
3041 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
3042 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
3043 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
3044 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
3045 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
3046 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
3047 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
3048 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
3049 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
3050 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
3051 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
3052 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
3054 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
3056 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
3057 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
3058 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
3059 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
3060 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
3061 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
3062 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
3063 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
3065 2011-10-24 Andreas Schwab <schwab@redhat.com>
3067 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
3069 2011-10-23 Ulrich Drepper <drepper@gmail.com>
3071 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
3073 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
3075 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
3077 * string/strnlen.c: Don't define STRNLEN, reverse logic.
3078 Remove unused variable magic_bits.
3079 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
3081 * string/strnlen.c: Define and use STRNLEN macro.
3082 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
3083 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
3084 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
3085 * wcsmbs/wcslen.c: Define and use WCSLEN.
3086 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
3087 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
3088 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
3089 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
3090 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
3091 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
3092 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
3094 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3096 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
3097 strnlen-sse2-no-bsf.
3098 Rename strlen-no-bsf to strlen-sse2-no-bsf.
3099 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
3100 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
3101 Add strnlen support.
3102 (USE_AS_STRNLEN): New macro.
3103 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
3104 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
3105 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
3106 * sysdeps/x86_64/wcslen.S: New file.
3108 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
3110 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
3111 XMM-moves are used for copying on small sizes.
3113 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3115 * wcsmbs/Makefile (strop-tests): Add wcschr.
3116 * wcsmbs/test-wcschr.c: New file.
3117 * string/test-strchr.c: Update.
3121 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3123 * wcsmbs/Makefile (strop-tests): Add wcslen.
3124 * wcsmbs/test-wcslen.c: New file.
3125 * string/test-strlen.c: Update.
3129 2011-10-23 Ulrich Drepper <drepper@gmail.com>
3131 * po/it.po: Update from translation team.
3133 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3135 * sysdeps/x86_64/wcscmp.S: Update.
3136 Fix wrong comparison semantics.
3137 wcscmp shall use signed comparison not unsigned.
3138 Don't use substraction to avoid overflow bug.
3139 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
3140 * wcsmbc/wcscmp.c: Likewise.
3141 * string/test-strcmp.c: Likewise.
3142 Add new tests to check cases with negative values.
3144 2011-10-23 Ulrich Drepper <drepper@gmail.com>
3146 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
3147 * sysdeps/x86_64/dla.h: ...here. New file.
3148 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
3149 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
3150 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
3151 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
3152 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
3153 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
3154 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
3155 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
3156 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
3158 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
3160 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
3161 __ynl_finite aliases.
3163 2011-10-22 Ulrich Drepper <drepper@gmail.com>
3165 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3167 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
3169 [DLA_FMA] (EMULV): Use DLA_FMA.
3170 [DLA_FMA] (MUL12): Use EMULV.
3171 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
3172 that are not needed.
3173 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
3174 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
3175 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
3176 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
3177 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
3178 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
3179 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
3181 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
3183 * math/s_nan.c: Undef __nan.
3184 * math/s_nanf.c: Undef __nanf.
3185 * math/s_nanl.c: Undef __nanl.
3186 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
3189 2011-10-22 Ulrich Drepper <drepper@gmail.com>
3191 * math/s_catan.c: Add branch predictions.
3192 * math/s_catanf.c: Likewise.
3193 * math/s_catanh.c: Likewise.
3194 * math/s_catanhf.c: Likewise.
3195 * math/s_catanhl.c: Likewise.
3196 * math/s_catanl.c: Likewise.
3197 * math/s_cexp.c: Likewise.
3198 * math/s_cexpf.c: Likewise.
3199 * math/s_cexpl.c: Likewise.
3200 * math/s_clog.c: Likewise.
3201 * math/s_clog10.c: Likewise.
3202 * math/s_clog10f.c: Likewise.
3203 * math/s_clog10l.c: Likewise.
3204 * math/s_clogf.c: Likewise.
3205 * math/s_clogl.c: Likewise.
3206 * math/s_csqrt.c: Likewise.
3207 * math/s_csqrtf.c: Likewise.
3208 * math/s_csqrtl.c: Likewise.
3209 * math/s_ctanf.c: Likewise.
3210 * math/s_ctanh.c: Likewise.
3211 * math/s_ctanhf.c: Likewise.
3212 * math/s_ctanhl.c: Likewise.
3213 * math/s_ctanl.c: Likewise.
3215 * math/math_private.h: Define __nan, __nanf, __nanl.
3216 * math/s_cacosh.c: Include <math_private.h>.
3217 * math/s_cacoshl.c: Likewise.
3218 * math/s_casinh.c: Likewise.
3219 * math/s_casinhf.c: Likewise.
3220 * math/s_casinhl.c: Likewise.
3221 * math/s_ccos.c: Rely entire on ccosh.
3222 * math/s_ccosf.c: Rely entire on ccoshf.
3223 * math/s_ccosl.c: Rely entirely on ccoshl.
3224 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
3225 Remove tests for FE_INVALID.
3226 * math/s_ccoshf.c: Likewise.
3227 * math/s_ccoshl.c: Likewise.
3228 * math/s_csin.c: Likewise.
3229 * math/s_csinf.c: Likewise.
3230 * math/s_csinh.c Likewise.
3231 * math/s_csinhf.c: Likewise.
3232 * math/s_csinhl.c: Likewise.
3233 * math/s_csinl.c: Likewise.
3234 * math/s_ctan.c: Likewise.
3235 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
3236 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
3237 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
3239 2011-10-21 Ulrich Drepper <drepper@gmail.com>
3241 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
3242 compilation problems.
3244 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
3247 2011-10-20 Ulrich Drepper <drepper@gmail.com>
3249 * sysdeps/i386/configure.in: Test for -mfma4 option.
3250 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
3251 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
3252 COMMON_CPUID_INDEX_80000001.
3253 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
3254 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
3255 use it if FMA3 is not supported.
3256 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
3258 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
3259 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
3261 2011-10-20 Andreas Schwab <schwab@redhat.com>
3264 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
3265 it would create a cycle with a link time dependency.
3267 2011-10-19 Ulrich Drepper <drepper@gmail.com>
3269 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
3271 * string/Makefile (strop-tests): Add rawmemchr.
3272 * string/test-rawmemchr.c: New file.
3274 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
3275 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
3276 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
3277 when compiling str{,n}casecmp and when AVX is available. Hook up
3278 new optimized code in initializers.
3280 2011-10-19 Andreas Schwab <schwab@redhat.com>
3282 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
3283 __feraiseexcept instead of feraiseexcept.
3285 2011-10-18 Ulrich Drepper <drepper@gmail.com>
3287 * math/math_private.h: Define defaults for libc_fetestexcept and
3289 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
3290 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
3291 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
3292 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
3293 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
3294 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
3295 libc_fetestexcept and libc_feupdateenv.
3297 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
3298 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
3299 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
3300 * sysdeps/x86_64/fpu/math_private.h: Define special version of
3301 libc_feholdexcept_setround.
3303 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
3304 Add s_nearbyint-c and s_nearbyintf-c.
3305 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
3307 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
3308 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
3309 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
3310 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
3312 * math/math_private.h: Define defaults for libc_fegetround,
3313 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
3314 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
3315 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
3316 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
3317 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
3319 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
3320 Remove comments and hacks for old compiler versions.
3321 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
3322 libc_fegetround, libc_fesetround, libc_feholdexcept, and
3325 2011-10-18 Andreas Schwab <schwab@redhat.com>
3327 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
3328 (__feraiseexcept_renamed): Add __NTH.
3329 (feraiseexcept): Add __NTH. Rename local variables to fix
3330 namespace violations.
3332 2011-10-17 Ulrich Drepper <drepper@gmail.com>
3334 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
3336 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
3338 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
3339 recently added interfaces.
3340 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
3342 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
3343 about macro parameter expansion.
3345 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
3346 __NO_MATH_INLINES is defined. Cleanups.
3348 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
3349 and __floorf is target has SSE4.1.
3350 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
3351 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
3352 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
3353 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
3355 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
3359 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
3361 2011-10-17 Andreas Schwab <schwab@redhat.com>
3363 * misc/sys/cdefs.h: Fix last change.
3365 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
3368 2011-10-16 Ulrich Drepper <drepper@gmail.com>
3370 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
3372 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
3373 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
3374 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
3375 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
3376 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
3377 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
3378 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
3379 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
3380 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
3381 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
3382 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
3383 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
3384 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
3385 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
3386 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
3387 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
3388 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
3389 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
3390 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
3391 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
3392 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
3393 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
3395 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
3396 ceil, ceilf, floor, floorf.
3398 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
3399 Perform IRELATIVE relocations last.
3401 * elf/do-rel.h: Add another parameter nrelative, replacing the
3402 local variable with the same name. Change name of the function
3403 to end in Rel or Rela (uppercase).
3404 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
3405 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
3406 elf_dynamic_do_##reloc function.
3408 2011-10-15 Ulrich Drepper <drepper@gmail.com>
3410 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
3411 is sufficient, at least on modern CPUs.
3413 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
3415 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
3416 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
3418 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
3420 * math/bits/math-finite.h: Add entries for exp.
3421 * math/e_expl.c: Add __*_finite alias.
3422 * sysdeps/i386/fpu/e_exp.S: Likewise.
3423 * sysdeps/i386/fpu/e_expf.S: Likewise.
3424 * sysdeps/i386/fpu/e_expl.c: Likewise.
3425 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
3426 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
3427 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
3428 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
3429 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
3430 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
3431 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
3433 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
3434 is sufficient, at least on modern CPUs.
3436 * ctype/ctype-info.c (__ctype_init): Define.
3437 * include/ctype.h (__ctype_init): Declare.
3438 (__ctype_b_loc): The variable is always initialized.
3439 (__ctype_toupper_loc): Likewise.
3440 (__ctype_tolower_loc): Likewise.
3441 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
3442 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
3444 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
3446 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
3448 * configure.in: Also look in $cxxmachine/include for C++ system
3451 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3453 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
3454 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
3455 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
3456 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
3457 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
3458 (USE_AS_WMEMCMP): New macro.
3460 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
3461 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
3462 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
3463 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
3464 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
3465 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
3466 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
3467 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
3468 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
3469 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
3470 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
3471 (USE_AS_WMEMCMP): New macro.
3472 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
3473 * sysdeps/string/test-memcmp.c: Update.
3476 * wcsmbs/wmemcmp.c: Update.
3477 (WMEMCMP): New macro.
3480 2011-10-12 Andreas Jaeger <aj@suse.de>
3483 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
3485 2011-10-15 Ulrich Drepper <drepper@gmail.com>
3487 * libio/iofwide.c (do_length): Avoid warning.
3489 * ctype/ctype.h (__isctype_f): Add missing __THROW.
3491 2011-10-14 Ulrich Drepper <drepper@gmail.com>
3493 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
3495 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
3496 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
3497 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
3498 * sysdeps/i386/i686/fpu/e_log.S: New file.
3499 * sysdeps/i386/i686/fpu/e_logf.S: New file.
3500 * sysdeps/i386/i686/fpu/e_logl.S: New file.
3502 * ctype/ctype.h: Add support for inlined isXXX functions when
3505 2011-10-14 Andreas Schwab <schwab@redhat.com>
3507 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
3509 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
3511 2011-10-13 Roland McGrath <roland@hack.frob.com>
3514 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
3516 2011-10-13 Andreas Schwab <schwab@redhat.com>
3518 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
3519 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
3522 * sysdeps/x86_64/memrchr.S: Check for zero size.
3524 * string/stratcliff.c: Add memrchr tests.
3526 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3528 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
3529 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
3530 rawmemchr-sse2 rawmemchr-sse2-bsf.
3531 * sysdeps/i386/i686/multiarch/memchr.S: New file.
3532 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
3533 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
3534 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
3535 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
3536 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
3537 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
3538 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
3539 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
3540 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
3541 * string/memrchr.c (MEMRCHR): New macro.
3543 2011-10-12 Ulrich Drepper <drepper@gmail.com>
3545 Add integration with gcc's -ffinite-math-only and optimize wrapper
3547 * Versions.def: Define GLIBC_2.15 version for libm.
3548 * math/Makefile (headers): Add bits/math-finite.h.
3549 * math/bits/math-finite.h: New file.
3550 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
3551 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
3552 * math/e_acoshl.c: Add __*_finite alias.
3553 * math/e_acosl.c: Likewise.
3554 * math/e_asinl.c: Likewise.
3555 * math/e_atan2l.c: Likewise.
3556 * math/e_atanhl.c: Likewise.
3557 * math/e_coshl.c: Likewise.
3558 * math/e_exp10.c: Likewise.
3559 * math/e_exp10f.c: Likewise.
3560 * math/e_exp10l.c: Likewise.
3561 * math/e_exp2l.c: Likewise.
3562 * math/e_fmodl.c: Likewise.
3563 * math/e_gammal_r.c: Likewise.
3564 * math/e_hypotl.c: Likewise.
3565 * math/e_j0l.c: Likewise.
3566 * math/e_j1l.c: Likewise.
3567 * math/e_jnl.c: Likewise.
3568 * math/e_lgammal_r.c: Likewise.
3569 * math/e_log10l.c: Likewise.
3570 * math/e_log2l.c: Likewise.
3571 * math/e_logl.c: Likewise.
3572 * math/e_powl.c: Likewise.
3573 * math/e_sinhl.c: Likewise.
3574 * math/e_sqrtl.c: Likewise.
3575 * math/e_scalb.c: Completely rewritten and optimized.
3576 * math/e_scalbf.c: Likewise.
3577 * math/e_scalbl.c: Likewise.
3578 * math/w_acos.c: Likewise.
3579 * math/w_acosf.c: Likewise.
3580 * math/w_acosl.c: Likewise.
3581 * math/w_acosh.c: Likewise.
3582 * math/w_acoshf.c: Likewise.
3583 * math/w_acoshl.c: Likewise.
3584 * math/w_asin.c: Likewise.
3585 * math/w_asinf.c: Likewise.
3586 * math/w_asinl.c: Likewise.
3587 * math/w_atan2.c: Likewise.
3588 * math/w_atan2f.c: Likewise.
3589 * math/w_atan2l.c: Likewise.
3590 * math/w_atanh.c: Likewise.
3591 * math/w_atanhf.c: Likewise.
3592 * math/w_atanhl.c: Likewise.
3593 * math/w_exp10.c: Likewise.
3594 * math/w_exp10f.c: Likewise.
3595 * math/w_exp10l.c: Likewise.
3596 * math/w_fmod.c: Likewise.
3597 * math/w_fmodf.c: Likewise.
3598 * math/w_fmodl.c: Likewise.
3599 * math/w_j0.c: Likewise.
3600 * math/w_j0f.c: Likewise.
3601 * math/w_j0l.c: Likewise.
3602 * math/w_j1.c: Likewise.
3603 * math/w_j1f.c: Likewise.
3604 * math/w_j1l.c: Likewise.
3605 * math/w_jn.c: Likewise.
3606 * math/w_jnf.c: Likewise.
3607 * math/w_log.c: Likewise.
3608 * math/w_logf.c: Likewise.
3609 * math/w_logl.c: Likewise.
3610 * math/w_log10.c: Likewise.
3611 * math/w_log10f.c: Likewise.
3612 * math/w_log10l.c: Likewise.
3613 * math/w_log2.c: Likewise.
3614 * math/w_log2f.c: Likewise.
3615 * math/w_log2l.c: Likewise.
3616 * math/w_pow.c: Likewise.
3617 * math/w_powf.c: Likewise.
3618 * math/w_powl.c: Likewise.
3619 * math/w_remainder.c: Likewise.
3620 * math/w_remainderf.c: Likewise.
3621 * math/w_remainderl.c: Likewise.
3622 * math/w_scalb.c: Likewise.
3623 * math/w_scalbf.c: Likewise.
3624 * math/w_scalbl.c: Likewise.
3625 * math/w_sqrt.c: Likewise.
3626 * math/w_sqrtf.c: Likewise.
3627 * math/w_sqrtl.c: Likewise.
3628 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
3629 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
3631 * math/math_private.h: Declare __kernel_standard_f.
3632 * math/w_cosh.c: Remove cruft and optimize a bit.
3633 * math/w_coshf.c: Likewise.
3634 * math/w_coshl.c: Likewise.
3635 * math/w_exp2.c: Likewise.
3636 * math/w_exp2f.c: Likewise.
3637 * math/w_exp2l.c: Likewise.
3638 * math/w_hypot.c: Likewise.
3639 * math/w_hypotf.c: Likewise.
3640 * math/w_hypotl.c: Likewise.
3641 * math/w_lgamma.c: Likewise.
3642 * math/w_lgamma_r.c: Likewise.
3643 * math/w_lgammaf.c: Likewise.
3644 * math/w_lgammaf_r.c: Likewise.
3645 * math/w_lgammal.c: Likewise.
3646 * math/w_lgammal_r.c: Likewise.
3647 * math/w_sinh.c: Likewise.
3648 * math/w_sinhf.c: Likewise.
3649 * math/w_sinhl.c: Likewise.
3650 * math/w_tgamma.c: Likewise.
3651 * math/w_tgammaf.c: Likewise.
3652 * math/w_tgammal.c: Likewise.
3653 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
3654 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
3655 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
3656 Minor optimizations. Pretty printing. Remove cruft.
3657 * sysdeps/i386/fpu/e_acosf.S: Likewise.
3658 * sysdeps/i386/fpu/e_acosh.S: Likewise.
3659 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
3660 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
3661 * sysdeps/i386/fpu/e_acosl.c: Likewise.
3662 * sysdeps/i386/fpu/e_asin.S: Likewise.
3663 * sysdeps/i386/fpu/e_asinf.S: Likewise.
3664 * sysdeps/i386/fpu/e_atan2.S: Likewise.
3665 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
3666 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
3667 * sysdeps/i386/fpu/e_atanh.S: Likewise.
3668 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
3669 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
3670 * sysdeps/i386/fpu/e_exp10.S: Likewise.
3671 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
3672 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
3673 * sysdeps/i386/fpu/e_exp2.S: Likewise.
3674 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
3675 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
3676 * sysdeps/i386/fpu/e_fmod.S: Likewise.
3677 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
3678 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
3679 * sysdeps/i386/fpu/e_hypot.S: Likewise.
3680 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
3681 * sysdeps/i386/fpu/e_log.S: Likewise.
3682 * sysdeps/i386/fpu/e_log10.S: Likewise.
3683 * sysdeps/i386/fpu/e_log10f.S: Likewise.
3684 * sysdeps/i386/fpu/e_log10l.S: Likewise.
3685 * sysdeps/i386/fpu/e_log2.S: Likewise.
3686 * sysdeps/i386/fpu/e_log2f.S: Likewise.
3687 * sysdeps/i386/fpu/e_log2l.S: Likewise.
3688 * sysdeps/i386/fpu/e_logf.S: Likewise.
3689 * sysdeps/i386/fpu/e_logl.S: Likewise.
3690 * sysdeps/i386/fpu/e_pow.S: Likewise.
3691 * sysdeps/i386/fpu/e_powf.S: Likewise.
3692 * sysdeps/i386/fpu/e_powl.S: Likewise.
3693 * sysdeps/i386/fpu/e_remainder.S: Likewise.
3694 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
3695 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
3696 * sysdeps/i386/fpu/e_scalb.S: Likewise.
3697 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
3698 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
3699 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
3700 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
3701 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
3702 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
3703 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
3704 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
3705 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
3706 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
3707 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
3708 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
3709 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
3710 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
3711 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
3712 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
3713 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
3714 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
3715 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
3716 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
3717 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
3718 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
3719 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
3720 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
3721 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
3722 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
3723 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
3724 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
3725 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
3726 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
3727 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
3728 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
3729 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
3730 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
3731 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
3732 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
3733 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
3734 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
3735 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
3736 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
3737 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
3738 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
3739 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
3740 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
3741 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
3742 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
3743 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
3744 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
3745 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
3746 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
3747 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
3748 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
3749 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
3750 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
3751 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
3752 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
3753 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
3754 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
3755 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
3756 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
3757 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
3758 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
3759 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
3760 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
3761 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
3762 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
3763 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
3764 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
3765 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
3766 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
3767 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
3768 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
3769 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
3770 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
3771 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
3772 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
3773 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
3774 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
3775 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
3776 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
3777 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
3778 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
3779 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
3780 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
3781 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
3782 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
3783 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
3784 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
3785 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
3786 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
3787 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
3788 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
3789 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
3790 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
3791 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
3792 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
3793 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
3794 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
3795 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
3796 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
3797 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
3798 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
3799 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
3800 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
3801 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
3802 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
3803 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
3804 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
3805 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
3806 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
3807 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
3808 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
3809 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
3810 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
3811 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
3812 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
3813 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
3814 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
3815 (__isnanf): Likewise.
3816 (__isinf_ns): Likewise.
3817 (__isinf_nsf): Likewise.
3818 (__finite): Likewise.
3819 (__finitef): Likewise.
3820 (__ieee754_sqrt): Define as macro.
3821 (__ieee754_sqrtf): Define as macro.
3822 (__ieee754_sqrtl): Define as macro.
3823 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
3825 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
3826 __FINITE_MATH_ONLY__ consistent.
3827 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
3829 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
3831 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
3834 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
3836 2011-10-09 Ulrich Drepper <drepper@gmail.com>
3838 * po/ja.po: Update from translation team.
3840 2011-10-08 Roland McGrath <roland@hack.frob.com>
3842 * locale/programs/locarchive.c (prepare_address_space): New function.
3843 (create_archive, enlarge_archive, open_archive): Use it.
3845 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
3846 inside [SHARED], where it is used.
3848 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
3850 * nss/getent.c (netgroup_keys): Remove unused variable.
3851 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
3853 2011-10-08 Ulrich Drepper <drepper@gmail.com>
3855 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
3856 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
3857 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
3858 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
3859 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
3860 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
3861 * math/Makefile (libm-calls): Add s_isinf_ns.
3862 * math/divtc3.c: Use __isinf_nsl instead of isinf.
3863 * math/multc3.c: Likewise.
3864 * math/s_casin.c: Likewise.
3865 * math/s_casinf.c: Likewise.
3866 * math/s_casinl.c: Likewise.
3867 * math/s_ccos.c: Likewise.
3868 * math/s_ccosf.c: Likewise.
3869 * math/s_ccosl.c: Likewise.
3870 * math/s_ctan.c: Likewise.
3871 * math/s_ctanf.c: Likewise.
3872 * math/s_ctanh.c: Likewise.
3873 * math/s_ctanhf.c: Likewise.
3874 * math/s_ctanhl.c: Likewise.
3875 * math/s_ctanl.c: Likewise.
3876 * math/w_fmod.c: Likewise.
3877 * math/w_fmodf.c: Likewise.
3878 * math/w_fmodl.c: Likewise.
3879 * math/w_remainder.c: Likewise.
3880 * math/w_remainderf.c: Likewise.
3881 * math/w_remainderl.c: Likewise.
3882 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
3883 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
3884 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
3885 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
3886 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
3887 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
3888 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
3889 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
3891 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
3893 * stdio-common/printf_fphex.c: Likewise.
3894 * stdio-common/printf_size.c: Likewise.
3896 * math/e_exp10.c: Include math_private.h using <...> not "...".
3897 * math/e_exp10f.c: Likewise.
3898 * math/e_exp10l.c: Likewise.
3899 * math/e_exp2l.c: Likewise.
3900 * math/e_j0l.c: Likewise.
3901 * math/e_j1l.c: Likewise.
3902 * math/e_jnl.c: Likewise.
3903 * math/e_lgammal_r.c: Likewise.
3904 * math/e_rem_pio2l.c: Likewise.
3905 * math/e_scalb.c: Likewise.
3906 * math/e_scalbf.c: Likewise.
3907 * math/e_scalbl.c: Likewise.
3908 * math/k_cosl.c: Likewise.
3909 * math/k_sinl.c: Likewise.
3910 * math/k_tanl.c: Likewise.
3911 * math/s_cacoshf.c: Likewise.
3912 * math/s_catan.c: Likewise.
3913 * math/s_catanf.c: Likewise.
3914 * math/s_catanh.c: Likewise.
3915 * math/s_catanhf.c: Likewise.
3916 * math/s_catanhl.c: Likewise.
3917 * math/s_catanl.c: Likewise.
3918 * math/s_ccosh.c: Likewise.
3919 * math/s_ccoshf.c: Likewise.
3920 * math/s_ccoshl.c: Likewise.
3921 * math/s_cexp.c: Likewise.
3922 * math/s_cexpf.c: Likewise.
3923 * math/s_cexpl.c: Likewise.
3924 * math/s_clog.c: Likewise.
3925 * math/s_clog10.c: Likewise.
3926 * math/s_clog10f.c: Likewise.
3927 * math/s_clog10l.c: Likewise.
3928 * math/s_clogf.c: Likewise.
3929 * math/s_clogl.c: Likewise.
3930 * math/s_csin.c: Likewise.
3931 * math/s_csinf.c: Likewise.
3932 * math/s_csinh.c: Likewise.
3933 * math/s_csinhf.c: Likewise.
3934 * math/s_csinhl.c: Likewise.
3935 * math/s_csinl.c: Likewise.
3936 * math/s_csqrt.c: Likewise.
3937 * math/s_csqrtf.c: Likewise.
3938 * math/s_csqrtl.c: Likewise.
3939 * math/s_ctan.c: Likewise.
3940 * math/s_ctanf.c: Likewise.
3941 * math/s_ctanh.c: Likewise.
3942 * math/s_ctanhf.c: Likewise.
3943 * math/s_ctanhl.c: Likewise.
3944 * math/s_ctanl.c: Likewise.
3945 * math/s_ldexp.c: Likewise.
3946 * math/s_ldexpf.c: Likewise.
3947 * math/s_ldexpl.c: Likewise.
3948 * math/s_significand.c: Likewise.
3949 * math/s_significandf.c: Likewise.
3950 * math/s_significandl.c: Likewise.
3951 * math/w_acos.c: Likewise.
3952 * math/w_acosf.c: Likewise.
3953 * math/w_acosh.c: Likewise.
3954 * math/w_acoshf.c: Likewise.
3955 * math/w_acoshl.c: Likewise.
3956 * math/w_acosl.c: Likewise.
3957 * math/w_asin.c: Likewise.
3958 * math/w_asinf.c: Likewise.
3959 * math/w_asinl.c: Likewise.
3960 * math/w_atan2.c: Likewise.
3961 * math/w_atan2f.c: Likewise.
3962 * math/w_atan2l.c: Likewise.
3963 * math/w_atanh.c: Likewise.
3964 * math/w_atanhf.c: Likewise.
3965 * math/w_atanhl.c: Likewise.
3966 * math/w_cosh.c: Likewise.
3967 * math/w_coshf.c: Likewise.
3968 * math/w_coshl.c: Likewise.
3969 * math/w_dremf.c: Likewise.
3970 * math/w_exp10.c: Likewise.
3971 * math/w_exp10f.c: Likewise.
3972 * math/w_exp10l.c: Likewise.
3973 * math/w_exp2.c: Likewise.
3974 * math/w_exp2f.c: Likewise.
3975 * math/w_fmod.c: Likewise.
3976 * math/w_fmodf.c: Likewise.
3977 * math/w_fmodl.c: Likewise.
3978 * math/w_hypot.c: Likewise.
3979 * math/w_hypotf.c: Likewise.
3980 * math/w_hypotl.c: Likewise.
3981 * math/w_j0.c: Likewise.
3982 * math/w_j0f.c: Likewise.
3983 * math/w_j0l.c: Likewise.
3984 * math/w_j1.c: Likewise.
3985 * math/w_j1f.c: Likewise.
3986 * math/w_j1l.c: Likewise.
3987 * math/w_jn.c: Likewise.
3988 * math/w_jnf.c: Likewise.
3989 * math/w_jnl.c: Likewise.
3990 * math/w_lgamma.c: Likewise.
3991 * math/w_lgamma_r.c: Likewise.
3992 * math/w_lgammaf.c: Likewise.
3993 * math/w_lgammaf_r.c: Likewise.
3994 * math/w_lgammal.c: Likewise.
3995 * math/w_lgammal_r.c: Likewise.
3996 * math/w_log.c: Likewise.
3997 * math/w_log10.c: Likewise.
3998 * math/w_log10f.c: Likewise.
3999 * math/w_log10l.c: Likewise.
4000 * math/w_log2.c: Likewise.
4001 * math/w_log2f.c: Likewise.
4002 * math/w_log2l.c: Likewise.
4003 * math/w_logf.c: Likewise.
4004 * math/w_logl.c: Likewise.
4005 * math/w_pow.c: Likewise.
4006 * math/w_powf.c: Likewise.
4007 * math/w_powl.c: Likewise.
4008 * math/w_remainder.c: Likewise.
4009 * math/w_remainderf.c: Likewise.
4010 * math/w_remainderl.c: Likewise.
4011 * math/w_scalb.c: Likewise.
4012 * math/w_scalbf.c: Likewise.
4013 * math/w_scalbl.c: Likewise.
4014 * math/w_sinh.c: Likewise.
4015 * math/w_sinhf.c: Likewise.
4016 * math/w_sinhl.c: Likewise.
4017 * math/w_sqrt.c: Likewise.
4018 * math/w_sqrtf.c: Likewise.
4019 * math/w_sqrtl.c: Likewise.
4020 * math/w_tgamma.c: Likewise.
4021 * math/w_tgammaf.c: Likewise.
4022 * math/w_tgammal.c: Likewise.
4024 * po/ja.po: Update from translation team.
4026 2011-09-29 Andreas Jaeger <aj@suse.de>
4029 * sunrpc/netname.c (netname2host): Fix logic.
4033 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
4035 * math/w_remainder.c (__remainder): Likewise.
4036 * math/w_remainderf.c (__remainderf): Likewise.
4037 * math/libm-test.inc (remainder_test): Add test cases.
4039 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4041 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
4044 2011-10-07 Ulrich Drepper <drepper@gmail.com>
4046 * string/test-memcmp.c: Avoid unncessary #defines.
4047 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
4049 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4051 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
4052 Use new sse2 version for core i3 - i7 as it's faster
4054 (bit_Prefer_PMINUB_for_stringop): New.
4055 * sysdeps/x86_64/rawmemchr.S: Update.
4056 Replace with faster SSE2 version.
4057 * sysdeps/x86_64/memrchr.S: New file.
4058 * sysdeps/x86_64/memchr.S: Update.
4059 Replace with faster SSE2 version.
4061 2011-09-12 Marek Polacek <mpolacek@redhat.com>
4063 * elf/dl-load.c (lose): Add cast to avoid warning.
4065 2011-10-07 Ulrich Drepper <drepper@gmail.com>
4067 * po/ca.po: Update from translation team.
4069 * inet/getnetgrent_r.c: Hook up nscd.
4070 * nscd/Makefile (routines): Add nscd_netgroup.
4071 (nscd-modules): Add netgroupcache.
4072 (CFLAGS-netgroupcache.c): Define.
4073 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
4074 (cache_search): Add const to second parameter.
4075 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
4077 (dbs): Add netgrdb entry.
4078 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
4079 (verify_persistent_db): Handle netgrdb.
4080 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
4081 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
4083 (netgroup_response_header): Define.
4084 (innetgroup_response_header): Define.
4085 (datahead): Add netgroup_response_header and innetgroup_response_header
4087 * nscd/nscd.conf: Add entries for netgroup cache.
4088 * nscd/nscd.h (dbtype): Add netgrdb.
4089 (_PATH_NSCD_NETGROUP_DB): Define.
4090 (netgroup_iov_disabled): Declare.
4091 (xmalloc, xcalloc, xrealloc): Move declarations here.
4092 (cache_search): Adjust prototype.
4093 Add netgroup-related prototypes.
4094 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
4095 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
4096 (__nscd_innetgr): Declare.
4097 * nscd/selinux.c (perms): Use access_vector_t as element type and
4098 add netgroup-related initializers.
4099 * nscd/netgroupcache.c: New file.
4100 * nscd/nscd_netgroup.c: New file.
4101 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
4102 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
4103 For four parameters use innetgr.
4104 * nss/nss_files/files-init.c: Add definition and callback for netgr.
4105 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
4106 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
4107 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
4109 * nscd/connections.c (register_traced_file): Don't register file
4110 for disabled databases.
4112 2011-10-06 Ulrich Drepper <drepper@gmail.com>
4114 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
4116 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
4117 from tree and freeing node.
4119 2011-09-25 Jiri Olsa <jolsa@redhat.com>
4121 * nss/nsswitch.c (__nss_database_lookup): Handle
4122 nss_parse_service_list out of memory case.
4124 2011-09-15 Jiri Olsa <jolsa@redhat.com>
4126 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
4129 2011-10-04 Andreas Schwab <schwab@redhat.com>
4131 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
4132 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
4134 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
4135 elf_machine_rela, elf_machine_lazy_rel.
4136 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
4137 (ELF_DYNAMIC_DO_REL): Likewise.
4138 (ELF_DYNAMIC_DO_RELA): Likewise.
4139 (ELF_DYNAMIC_RELOCATE): Likewise.
4140 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
4141 to ELF_DYNAMIC_DO_REL.
4142 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
4143 (dl_main): In trace mode always set __RTLD_NOIFUNC.
4144 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
4146 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
4147 skip_ifunc, don't call ifunc function if non-zero.
4148 (elf_machine_rela): Likewise.
4149 (elf_machine_lazy_rel): Likewise.
4150 (elf_machine_lazy_rela): Likewise.
4151 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
4152 (elf_machine_lazy_rel): Likewise.
4153 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
4155 (elf_machine_lazy_rel): Likewise.
4156 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
4158 (elf_machine_lazy_rel): Likewise.
4159 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
4160 (elf_machine_lazy_rel): Likewise.
4161 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
4162 (elf_machine_lazy_rel): Likewise.
4163 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
4164 (elf_machine_lazy_rel): Likewise.
4165 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
4166 (elf_machine_lazy_rel): Likewise.
4167 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
4168 (elf_machine_lazy_rel): Likewise.
4169 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
4170 (elf_machine_lazy_rel): Likewise.
4172 2011-09-28 Ulrich Drepper <drepper@gmail.com>
4174 * nss/nss_files/files-init.c (_nss_files_init): Use static
4175 initialization for all the *_traced_file variables.
4177 2011-09-28 Andreas Schwab <schwab@redhat.com>
4179 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
4181 2011-09-27 Roland McGrath <roland@hack.frob.com>
4184 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
4186 2011-09-27 Andreas Schwab <schwab@redhat.com>
4188 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
4189 Reread the line before reparsing it.
4191 2011-09-26 Andreas Schwab <schwab@redhat.com>
4193 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
4195 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
4196 Maxim Kuvyrkov <maxim@codesourcery.com>
4197 Joseph Myers <joseph@codesourcery.com>
4199 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
4200 if needed for __stack_chk_guard.
4202 2011-09-19 Roland McGrath <roland@hack.frob.com>
4204 * sysdeps/posix/spawni.c (script_execute): Always define it.
4205 It will be optimized away if unused.
4206 (maybe_script_execute): New function.
4207 (__spawni): Call it.
4209 * Makerules: Don't include tls.make.
4210 (config-tls): Always set to thread.
4211 * tls.make.c: File removed.
4213 2011-09-19 Mike Frysinger <vapier@gentoo.org>
4215 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
4216 * config.make.in (CPPFLAGS-config): New substituted variable.
4218 2011-09-15 Ulrich Drepper <drepper@gmail.com>
4220 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
4223 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
4224 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
4226 2011-09-15 Roland McGrath <roland@hack.frob.com>
4228 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
4229 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
4230 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
4231 (CALL_FAIL): Likewise.
4232 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
4233 (CALL_FAIL): Macro removed.
4234 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
4236 2011-09-15 Ulrich Drepper <drepper@gmail.com>
4238 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
4239 for __FINITE_MATH_ONLY__ == 1.
4241 2011-09-15 Andreas Schwab <schwab@redhat.com>
4243 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
4244 __ieee754_sqrt instead of sqrt.
4245 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
4246 __ieee754_sqrtf instead of sqrtf.
4247 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
4248 __floorf instead of floorf.
4249 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
4250 __floorf, __truncf instead of floorf, truncf.
4252 2011-09-14 Ulrich Drepper <drepper@gmail.com>
4254 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
4256 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
4257 __extern_always_inline.
4258 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
4261 2011-09-14 Andreas Schwab <schwab@redhat.com>
4263 * elf/rtld.c (dl_main): Also relocate in dependency order when
4264 doing symbol dependency testing.
4266 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
4268 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
4269 Always define `refsym'.
4271 2011-09-13 Andreas Schwab <schwab@redhat.com>
4273 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
4274 (__FD_ELT): Renamed from __FDELT.
4275 * misc/bits/select2.h (__FD_ELT): Likewise.
4276 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
4277 __FD_MASK instead of __FDELT, __FDMASK.
4278 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
4280 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
4283 * elf/Makefile (gen-ldd): Fix pattern.
4285 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
4286 (init_tls): Likewise.
4288 2011-09-12 Ulrich Drepper <drepper@gmail.com>
4290 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
4292 2011-09-12 Andreas Schwab <schwab@redhat.com>
4294 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
4295 `struct cmsghdr *' instead of `void *'.
4296 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
4299 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
4301 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
4303 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
4306 2011-09-11 Ulrich Drepper <drepper@gmail.com>
4308 * configure.in: Remove --with-tls option.
4309 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
4310 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
4311 out in case it is missing.
4312 * sysdeps/ia64/elf/configure.in: Likewise.
4313 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
4314 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
4315 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
4316 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
4317 * sysdeps/sh/elf/configure.in: Likewise.
4318 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
4319 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
4320 * sysdeps/x86_64/elf/configure.in: Likewise.
4321 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
4322 * sysdeps/mach/hurd/tls.h: Likewise.
4325 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
4328 * configure.in: Fix use of AC_INIT.
4330 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
4332 2011-09-10 Ulrich Drepper <drepper@gmail.com>
4334 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
4336 * malloc/hooks.c: Likewise.
4339 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
4340 variables statically.
4341 (narenas): Initialize.
4342 (list_lock): Initialize.
4343 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
4344 initializtion of main_arena and list_lock. Small cleanups.
4345 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
4346 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
4347 Add initializers to main_arena and mp_.
4348 (malloc_state): Remove pagesize member. Change all users to use
4351 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
4352 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
4353 is always initialized.
4355 * malloc/malloc.c: Removed unused configurations and dead code.
4356 * malloc/arena.c: Likewise.
4357 * malloc/hooks.c: Likewise.
4358 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
4360 * include/tls.h: Removed. USE___THREAD must always be defined.
4361 * bits/libc-tsd.h: Don't handle !USE___THREAD.
4362 * elf/dl-libc.c: Likewise.
4363 * elf/dl-tsd.c: Likewise.
4364 * include/errno.h: Likewise.
4365 * include/netdb.h: Likewise.
4366 * include/resolv.h: Likewise.
4367 * inet/herrno-loc.c: Likewise.
4368 * inet/herrno.c: Likewise.
4369 * malloc/arena.c: Likewise.
4370 * malloc/hooks.c: Likewise.
4371 * malloc/malloc.c: Likewise.
4372 * resolv/res-state.c: Likewise.
4373 * resolv/res_libc.c: Likewise.
4374 * sysdeps/i386/dl-machine.h: Likewise.
4375 * sysdeps/ia64/dl-machine.h: Likewise.
4376 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
4377 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
4378 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
4379 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
4380 * sysdeps/sh/dl-machine.h: Likewise.
4381 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
4382 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
4383 * sysdeps/unix/i386/sysdep.S: Likewise.
4384 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
4385 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
4386 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
4387 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
4388 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
4389 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
4390 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
4391 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
4392 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
4393 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
4394 * sysdeps/unix/x86_64/sysdep.S: Likewise.
4395 * sysdeps/x86_64/dl-machine.h: Likewise.
4396 * tls.make.c: Likewise.
4398 * configure.in: Remove --with-__thread option. Make tests for
4399 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
4400 tls_model attribute fail if no support is available. Remove
4402 * Makeconfig: Adjust for dropped configure option. All features are
4404 * Makerules: Likewise.
4405 * Versions.def: Likewise.
4406 * argp/argp-fmtstream.c: Likewise.
4407 * argp/argp-fmtstream.h: Likewise.
4408 * argp/argp-help.c: Likewise.
4409 * assert/assert.c: Likewise.
4410 * config.h.in: Likewise.
4411 * config.make.in: Likewise.
4412 * configure: Likewise.
4413 * configure.in: Likewise.
4414 * csu/Versions: Likewise.
4415 * csu/init.c: Likewise.
4416 * elf/tst-audit2.c: Likewise.
4417 * elf/tst-tls10.c: Likewise.
4418 * elf/tst-tls10.h: Likewise.
4419 * elf/tst-tls11.c: Likewise.
4420 * elf/tst-tls12.c: Likewise.
4421 * elf/tst-tls14.c: Likewise.
4422 * elf/tst-tlsmod11.c: Likewise.
4423 * elf/tst-tlsmod12.c: Likewise.
4424 * elf/tst-tlsmod13.c: Likewise.
4425 * elf/tst-tlsmod13a.c: Likewise.
4426 * elf/tst-tlsmod14a.c: Likewise.
4427 * elf/tst-tlsmod15b.c: Likewise.
4428 * elf/tst-tlsmod16a.c: Likewise.
4429 * elf/tst-tlsmod16b.c: Likewise.
4430 * elf/tst-tlsmod7.c: Likewise.
4431 * elf/tst-tlsmod8.c: Likewise.
4432 * elf/tst-tlsmod9.c: Likewise.
4433 * gmon/gmon.c: Likewise.
4434 * grp/fgetgrent_r.c: Likewise.
4435 * grp/putgrent.c: Likewise.
4436 * hurd/fopenport.c: Likewise.
4437 * include/libc-symbols.h: Likewise.
4438 * include/tls.h: Likewise.
4439 * intl/gettextP.h: Likewise.
4440 * intl/loadinfo.h: Likewise.
4441 * locale/global-locale.c: Likewise.
4442 * locale/localeinfo.h: Likewise.
4443 * mach/devstream.c: Likewise.
4444 * malloc/arena.c: Likewise.
4445 * malloc/set-freeres.c: Likewise.
4446 * misc/err.c: Likewise.
4447 * misc/getttyent.c: Likewise.
4448 * misc/mntent_r.c: Likewise.
4449 * posix/getopt.c: Likewise.
4450 * posix/wordexp.c: Likewise.
4451 * pwd/fgetpwent_r.c: Likewise.
4452 * resolv/Versions: Likewise.
4453 * resolv/res_hconf.c: Likewise.
4454 * shadow/fgetspent_r.c: Likewise.
4455 * shadow/putspent.c: Likewise.
4456 * stdio-common/printf_fphex.c: Likewise.
4457 * stdio-common/tmpfile.c: Likewise.
4458 * stdlib/abort.c: Likewise.
4459 * stdlib/fmtmsg.c: Likewise.
4460 * sunrpc/auth_unix.c: Likewise.
4461 * sunrpc/clnt_perr.c: Likewise.
4462 * sunrpc/clnt_tcp.c: Likewise.
4463 * sunrpc/clnt_udp.c: Likewise.
4464 * sunrpc/clnt_unix.c: Likewise.
4465 * sunrpc/openchild.c: Likewise.
4466 * sunrpc/svc_simple.c: Likewise.
4467 * sunrpc/svc_tcp.c: Likewise.
4468 * sunrpc/svc_udp.c: Likewise.
4469 * sunrpc/svc_unix.c: Likewise.
4470 * sunrpc/xdr.c: Likewise.
4471 * sunrpc/xdr_array.c: Likewise.
4472 * sunrpc/xdr_rec.c: Likewise.
4473 * sunrpc/xdr_ref.c: Likewise.
4474 * sunrpc/xdr_stdio.c: Likewise.
4476 2011-09-09 Ulrich Drepper <drepper@gmail.com>
4478 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
4480 2011-07-03 Andreas Jaeger <aj@suse.de>
4482 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
4483 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
4484 regenerate with gen-libm-tests.pl.
4486 2010-05-12 Petr Baudis <pasky@suse.cz>
4489 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
4490 around j0() zero points by switching to j1().
4491 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
4492 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
4493 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
4494 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
4496 2011-09-09 Ulrich Drepper <drepper@gmail.com>
4498 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
4500 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
4502 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
4503 Patch in part by Pavel Roskin <proski@gnu.org>.
4506 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
4508 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
4509 Free memory block if necessary.
4512 * libio/genops.c (INTDEF): For string streams the _lock pointer can
4513 be NULL. Don't lock in this case.
4515 2011-09-09 Roland McGrath <roland@hack.frob.com>
4517 * elf/elf.h (ELFOSABI_GNU): New macro.
4518 (ELFOSABI_LINUX): Define to that.
4520 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
4522 * string/strncat.c (strncat): Undef the symbol in case it has been
4523 defined in bits/string.h.
4525 2011-09-09 Ulrich Drepper <drepper@gmail.com>
4527 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
4529 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
4532 2011-08-17 Andreas Jaeger <aj@suse.de>
4534 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
4536 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
4537 Ian Lance Taylor <iant@google.com>
4539 * math/libm-test.inc (lround_test): New testcase.
4540 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
4542 2011-09-08 Ulrich Drepper <drepper@gmail.com>
4544 * Makefile: Remove support for automatic cvs check-ins.
4545 * Makerules: Likewise.
4546 * config.make.in: Likewise.
4547 * configure.in: Likewise.
4548 * intl/Makefile: Likewise.
4549 * locale/Makefile: Likewise.
4550 * po/Makefile: Likewise.
4551 * posix/Makefile: Likewise.
4552 * sysdeps/gnu/Makefile: Likewise.
4553 * sysdeps/mach/hurd/Makefile: Likewise.
4554 * sysdeps/sparc/sparc32/Makefile: Likewise.
4557 * posix/Makefile (bug-regex32-ENV): Define.
4558 Patch by John Stanley <jpsinthemix@verizon.net>.
4560 * misc/Makefile (headers): Add bits/select2.h.
4561 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
4562 * misc/bits/select2.h: New file.
4563 * include/bits/select2.h: New file.
4564 * debug/Makefile (routines): Add fdelt_chk.
4565 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
4566 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
4568 * debug/fdelt_chk.c: New file.
4570 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
4571 * wcsmbs/test-wmemcmp.c: Likewise.
4572 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
4573 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
4575 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4577 * string/Makefile (strop-tests): Add memcmp.
4578 * string/test-wmemcmp.c: New file.
4579 * string/test-memcmp.c: Add wmemcmp support.
4581 2011-09-08 Roland McGrath <roland@hack.frob.com>
4584 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
4587 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
4588 garbage value in a __mach_port_mod_refs call in the cases of the
4589 task-self and thread-self ports.
4591 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
4593 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
4595 2011-09-08 Andreas Schwab <schwab@redhat.com>
4597 * elf/dl-load.c (lose): Check for non-null L.
4599 2011-09-07 Ulrich Drepper <drepper@gmail.com>
4601 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
4603 * elf/dl-libc.c (dlerror_run): Pass back error code from
4607 * elf/dl-load.c (lose): Free l_origin if it is valid.
4609 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
4611 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
4612 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
4613 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
4614 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
4615 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
4616 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
4618 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4620 * sysdeps/powerpc/fpu/e_hypot.c: New file.
4621 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
4622 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
4623 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
4624 * sysdeps/powerpc/fpu/k_cosf.c: New file.
4625 * sysdeps/powerpc/fpu/k_sinf.c: New file.
4626 * sysdeps/powerpc/fpu/s_cosf.c: New file.
4627 * sysdeps/powerpc/fpu/s_sinf.c: New file.
4628 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
4629 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
4631 2011-08-15 Alan Modra <amodra@gmail.com>
4634 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
4635 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
4636 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
4637 ppc_mcount to static-only-routines.
4638 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
4640 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
4641 __mcount_internal with usual JUMPTARGET. Remove useless nop.
4643 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
4645 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
4646 for finite and infinity parameters.
4648 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
4650 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
4651 and add nop instructions for throughput optimization.
4652 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
4654 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
4656 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
4657 aligned copy for power7 with vector-scalar instructions.
4658 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
4660 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
4662 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
4665 2011-09-07 Andreas Schwab <schwab@redhat.com>
4668 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
4671 2011-09-07 Ulrich Drepper <drepper@gmail.com>
4673 * sysdeps/unix/sysv/linux/x86_64/init-first.c
4674 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
4675 syscall wrapper around clock_gettime in __vdso_clock_gettime.
4676 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
4679 2011-09-06 Ulrich Drepper <drepper@gmail.com>
4681 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
4682 Forgot to demangle the pointer.
4684 * sysdeps/i386/sysdep.h: Define atom_text_section.
4685 * sysdeps/x86_64/sysdep.h: Likewise.
4686 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
4687 section with atom_text_section.
4688 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
4689 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
4690 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
4691 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
4692 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
4694 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
4695 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
4696 already be defined. Change to take two parameters and don't assign
4697 result to variable. Adjust all users.
4698 Define INTERNAL_GETTIME if not already defined.
4699 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
4701 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
4702 HAVE_CLOCK_GETTIME_VSYSCALL.
4703 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
4705 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
4706 gettimeofday vsyscall, just use time.
4708 2011-09-06 Andreas Schwab <schwab@redhat.com>
4710 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
4713 2011-09-06 Ulrich Drepper <drepper@gmail.com>
4715 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
4717 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
4719 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
4720 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
4721 syscall if possible.
4723 2011-09-05 Ulrich Drepper <drepper@gmail.com>
4725 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
4726 e_ident. Don't pass to find_mapsXX.
4727 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
4729 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
4731 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
4732 strchr-sse2-no-bsf strrchr-sse2-no-bsf
4733 * sysdeps/x86_64/multiarch/strchr.S: Update.
4734 Check bit_slow_BSF bit.
4735 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
4736 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
4737 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
4739 2011-09-05 Ulrich Drepper <drepper@gmail.com>
4742 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
4745 (__spawni): Change last parameter to be flag. Test
4746 SPAWN_XFLAGS_USE_PATH flag to use path or not.
4747 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
4748 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
4749 * posix/spawni.c: Likewise.
4750 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
4751 * posix/spawnp.c: Likewise. Change normal version to use
4752 SPAWN_XFLAGS_USE_PATH.
4753 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
4754 SPAWN_XFLAGS_TRY_SHELL.
4757 * posix/glob.h: Remove gcc 1.x support.
4760 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
4762 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
4764 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
4765 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
4767 * sysdeps/i386/i686/multiarch/strchr.S: New file.
4768 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
4769 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
4770 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
4771 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
4772 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
4774 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4776 * sysdeps/x86_64/wcscmp.S: New file.
4778 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
4779 wcscmp-c wcscmp-sse2
4780 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
4781 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
4782 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
4783 * wcsmbs/wcscmp.c: Allow renaming.
4785 2011-09-05 David S. Miller <davem@davemloft.net>
4787 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
4788 stack slot, rather than the struct return pointer slot.
4789 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
4790 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
4791 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
4792 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
4794 2011-09-05 Ulrich Drepper <drepper@gmail.com>
4796 * po/ja.po: Update from translation team.
4799 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
4800 kernel in 64-bit binaries.
4802 2011-09-01 David S. Miller <davem@davemloft.net>
4804 * elf/elf.h (HWCAP_SPARC_*): Move to..
4805 * sysdeps/sparc/sysdep.h: this new file and add new values.
4806 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
4807 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
4808 _DL_HWCAP_COUNT to 24.
4809 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
4811 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
4812 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
4813 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
4814 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
4815 instead of magic constants.
4816 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
4818 2011-08-31 David S. Miller <davem@davemloft.net>
4820 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
4821 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
4822 Reimplement to do errno handling inline.
4823 (SYSCALL_ERROR_HANDLER): New macro.
4824 (__SYSCALL_STRING): Do not do errno handling in asm.
4825 (__CLONE_SYSCALL_STRING): Delete.
4826 (__INTERNAL_SYSCALL_STRING): Delete.
4827 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
4828 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
4829 (PSEUDO): Reimplement to do errno handling inline.
4830 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
4831 (SYSCALL_ERROR_HANDLER): New macro.
4832 (__SYSCALL_STRING): Do not do errno handling in asm.
4833 (__CLONE_SYSCALL_STRING): Delete.
4834 (__INTERNAL_SYSCALL_STRING): Delete.
4835 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
4836 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
4838 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
4839 (inline_syscall*): Add 'err' argument.
4840 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
4841 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
4842 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
4843 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
4845 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
4846 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
4848 2011-08-30 Andreas Schwab <schwab@redhat.com>
4850 * elf/rtld.c (dl_main): Relocate objects in dependency order.
4852 2011-08-29 Jiri Olsa <jolsa@redhat.com>
4854 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
4857 2011-08-24 David S. Miller <davem@davemloft.net>
4859 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
4861 2011-08-24 Andreas Schwab <schwab@redhat.com>
4863 * elf/Makefile: Add rules to build and run unload8 test.
4864 * elf/unload8.c: New file.
4865 * elf/unload8mod1.c: New file.
4866 * elf/unload8mod1x.c: New file.
4867 * elf/unload8mod2.c: New file.
4868 * elf/unload8mod3.c: New file.
4870 * elf/dl-close.c (_dl_close_worker): Reset private search list if
4873 2011-08-23 David S. Miller <davem@davemloft.net>
4875 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
4876 subtract stack bias.
4877 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
4878 %sp not %fp in calculations.
4879 (_JMPBUF_UNWINDS_ADJ): Likewise.
4881 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
4882 (aio_suspend): Call it to force an exception region around the
4883 AIO_MISC_WAIT() invocation.
4885 2011-08-23 Andreas Schwab <schwab@redhat.com>
4887 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
4890 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
4892 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
4894 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
4896 (Elf64_FuncDesc): Remove.
4898 2011-08-22 David S. Miller <davem@davemloft.net>
4900 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
4901 sigaltstack check, add missing cfi directives.
4902 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
4903 missing cfi directives, and sigaltstack handling.
4905 2011-08-16 Andreas Schwab <schwab@redhat.com>
4908 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
4909 object is seen twice.
4910 * elf/dl-fini.c (_dl_sort_fini): Likewise.
4912 * elf/Makefile (distribute): Add tst-initorder2.c.
4913 (tests): Add tst-initorder2.
4914 (modules-names): Add tst-initorder2a tst-initorder2b
4915 tst-initorder2c tst-initorder2d. Add rules to build them.
4916 ($(objpfx)tst-initorder2.out): New rule.
4917 * elf/tst-initorder2.c: New file.
4918 * elf/tst-initorder2.exp: New file.
4920 2011-08-22 Andreas Schwab <schwab@redhat.com>
4922 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
4924 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
4925 dependencies back to end of function.
4927 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
4930 2011-08-21 Ulrich Drepper <drepper@gmail.com>
4932 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
4933 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
4934 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
4935 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
4936 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
4937 of __vdso_gettimeofday.
4938 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
4939 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
4941 (_libc_vdso_platform_setup): Remove initialization of
4942 __vdso_gettimeofday and __vdso_time.
4944 2011-08-20 Ulrich Drepper <drepper@gmail.com>
4946 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
4948 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
4951 * elf/dl-open.c (add_to_global): Report additions to the global scope
4952 for LD_DEBUG=scopes.
4953 (dl_open_worker): Also print scope of newly loaded dependencies.
4954 (_dl_show_scope): Indicate if there is no scope.
4957 * stdio-common/Makefile (tests): Add bug24.
4958 * stdio-common/bug24.c: New file.
4960 2011-08-19 Andreas Jaeger <aj@suse.de>
4963 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
4964 non-existant file when using close-on-exec mode.
4966 2011-08-20 Ulrich Drepper <drepper@gmail.com>
4968 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
4969 the very first instruction.
4971 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
4972 the CFI state in the end.
4973 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
4974 inclusion of dl-trampoline.h.
4975 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
4977 2011-08-19 Andreas Schwab <schwab@redhat.com>
4979 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
4980 expectations for long double.
4982 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
4983 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
4985 2011-08-14 David S. Miller <davem@davemloft.net>
4987 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
4988 artificual limit depends upon the system page size.
4990 2011-08-17 Ulrich Drepper <drepper@gmail.com>
4992 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
4993 * resolv/Makefile: Define CFLAGS-libresolv.
4995 2011-08-17 Andreas Schwab <schwab@redhat.com>
4997 * nss/makedb.c (compute_tables): Make variables used in nested
5000 2011-08-17 Ulrich Drepper <drepper@gmail.com>
5002 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
5003 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
5004 if buffer was too small.
5006 * elf/pldd.c (main): Attach to all threads in the process.
5007 Rewrite /proc handling to use *at functions.
5009 2011-08-16 Ulrich Drepper <drepper@gmail.com>
5011 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
5012 specifies first scope to show.
5013 (dl_open_worker): Update callers. Move printing scope of new
5014 object to before the relocation.
5015 * elf/rtld.c (dl_main): Update _dl_show_scope call.
5016 * sysdeps/generic/ldsodefs.h: Update declaration.
5018 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
5019 string for the scope number.
5021 2011-08-14 Ulrich Drepper <drepper@gmail.com>
5023 * nscd/servicescache.c (cache_addserv): Make sure written is always
5026 2011-08-14 Roland McGrath <roland@hack.frob.com>
5028 * sysdeps/i386/i486/bits/atomic.h
5029 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
5030 statement expression, so as to suppress "set but not used" warning.
5031 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
5033 * string/strncat.c (STRNCAT): Use prototype definition.
5035 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
5036 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
5038 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
5039 (localedef-modules): Add localedef.
5040 (locale-modules): Add locale.
5042 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
5043 * elf/rtld.c (dl_main): Invert order of assignment in last change,
5046 2011-08-14 David S. Miller <davem@davemloft.net>
5048 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
5049 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
5051 2011-08-13 Ulrich Drepper <drepper@gmail.com>
5053 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
5054 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
5055 * elf/rtld.c (dl_main): Set l_name of vDSO.
5056 Call _dl_show_scope when DL_DEBUG_SCOPES.
5057 (process_dl_debug): Recognize scopes flag and also set it for all.
5058 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
5059 Declare _dl_show_scope.
5061 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
5062 (do_dlopen): Pass caller_dlopen to dl_open.
5063 (__libc_dlopen_mode): Initialize caller_dlopen.
5065 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
5066 of libc. Make tolower call locale-independent. Optimize a bit by
5067 using isdigit instead of isalnum.
5068 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
5070 2011-08-12 Ulrich Drepper <drepper@gmail.com>
5072 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
5073 was a dependency or dynamically loaded.
5075 2011-08-11 Ulrich Drepper <drepper@gmail.com>
5077 * intl/l10nflist.c: Allow architecture-specific pop function.
5078 * sysdeps/x86_64/l10nflist.c: New file.
5080 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
5083 2011-08-10 Andreas Schwab <schwab@redhat.com>
5085 * include/dirent.h: Add libc_hidden_proto for scandirat and
5086 scandirat64. Don't declare __scandirat64.
5087 * dirent/scandirat.c: Add libc_hidden_def.
5088 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
5089 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
5091 2011-08-10 David S. Miller <davem@davemloft.net>
5093 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
5095 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
5096 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
5097 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
5099 2011-08-09 Ulrich Drepper <drepper@gmail.com>
5101 * Versions.def [libc]: Add GLIBC_2.15.
5102 * dirent/Makefile (routines): Add scandirat and scandirat64.
5103 * dirent/Versions [libc]: Export scandirat and scandirat64 for
5105 * dirent/dirent.h: Declare scandirat and scandirat64.
5106 * dirent/scandirat.c: New file.
5107 * dirent/scandirat64.c: New file.
5108 * sysdeps/wordsize-64/scandirat.c: New file.
5109 * sysdeps/wordsize-64/scandirat64.c: New file.
5110 * dirent/opendir.c: Define opendirat.
5111 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
5113 * dirent/scandir64.c: Adjust for scandir.c change.
5114 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
5115 __scandirat64, and __scandir_cancel_handler.
5116 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
5117 additional parameter and use openat instead of open (outside of ld.so).
5118 Add new __opendir as wrapper around __opendirat.
5119 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
5120 here without requiring old scandirat implementation.
5122 2011-08-08 Ulrich Drepper <drepper@gmail.com>
5124 * dirent/scandir.c (cancel_handler): Renamed to
5125 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
5126 defined. Adjust users.
5127 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
5128 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
5130 2011-08-04 Ulrich Drepper <drepper@gmail.com>
5132 * string/test-string.h (IMPL): Use __STRING to expand name and then
5135 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
5138 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5140 * string/Makefile: Update.
5141 (strop-tests): Append strncat.
5142 * string/test-wcscmp.c: New file.
5143 New comprehensive test for wcscmp.
5144 * string/test-strcmp.c: Update.
5147 2011-07-22 Andreas Schwab <schwab@redhat.com>
5149 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
5152 2011-07-26 Andreas Schwab <schwab@redhat.com>
5154 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
5155 encoding to ACE if AI_IDN.
5157 2011-08-01 Jakub Jelinek <jakub@redhat.com>
5159 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
5160 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
5162 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
5164 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
5165 Fix overflow bug in strncat.
5166 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
5168 * string/test-strncat.c: Update.
5169 Add new tests for checking overflow bugs.
5171 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
5173 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
5174 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
5175 * sysdeps/i386/i686/multiarch/strcat.S: New file.
5176 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
5177 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
5178 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
5179 * sysdeps/i386/i686/multiarch/strncat.S: New file.
5180 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
5181 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
5183 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
5184 (USE_AS_STRCAT): Define.
5185 Add strcat and strncat support.
5186 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
5188 2011-07-25 Andreas Schwab <schwab@redhat.com>
5190 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
5191 __n bigger than INT_MAX+1.
5192 (__strncmp_g): Likewise.
5194 2011-07-23 Ulrich Drepper <drepper@gmail.com>
5196 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
5197 * libio/stido.h: Likewise.
5199 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
5201 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
5204 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
5205 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
5206 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
5207 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
5208 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
5211 * scripts/test-installation.pl: Don't expect libnss_test1 to be
5214 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
5216 (_dl_x86_64_save_sse): Likewise.
5218 2011-07-22 Ulrich Drepper <drepper@gmail.com>
5220 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
5222 (_dl_x86_64_save_sse): Likewise.
5224 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
5226 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
5228 2011-07-21 Andreas Schwab <schwab@redhat.com>
5230 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
5232 (_dl_x86_64_save_sse): Use correct AVX check.
5234 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5236 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
5237 bug in strncpy/strncat.
5238 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
5240 2011-07-21 Ulrich Drepper <drepper@gmail.com>
5242 * string/tester.c (test_strcat): Add tests for different alignments
5243 of source and destination.
5244 (test_strncat): Likewise.
5246 2011-07-20 Ulrich Drepper <drepper@gmail.com>
5249 * posix/glob.c (glob): Check passed in values before using them in
5250 expressions to avoid some overflows.
5251 (glob_in_dir): Likewise.
5254 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
5255 check for AVX enablement so that we don't crash with old kernels and
5257 * elf/tst-audit4.c: Add same checks here.
5258 * elf/tst-audit6.c: Likewise.
5260 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
5262 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
5264 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
5266 2011-07-20 Ulrich Drepper <drepper@gmail.com>
5268 * po/cs.po: Update from translation team.
5269 * po/bg.po: Likewise.
5271 2011-07-12 Marek Polacek <mpolacek@redhat.com>
5273 * misc/sys/cdefs.h: Add support for const attribute.
5274 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
5275 to gnu_dev_{major,minor,makedev} functions.
5277 2011-07-20 Marek Polacek <mpolacek@redhat.com>
5279 * intl/dcigettext.c (get_output_charset): Add missing bracket.
5281 2011-07-20 Andreas Schwab <schwab@redhat.com>
5283 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
5286 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5288 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
5289 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
5290 register in order to avoid conflicts with the soft frame pointer
5291 being held in r11 when necessary.
5292 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
5293 (INTERNAL_VSYSCALL_NCS): Likewise.
5295 2011-07-14 Marek Polacek <mpolacek@redhat.com>
5297 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
5298 * elf/dl-fini.c (_dl_fini): Adjust caller.
5299 * elf/dl-close.c (_dl_close_worker): Likewise.
5300 * sysdeps/generic/ldsodefs.h: Adjust declaration.
5302 2011-07-15 Marek Polacek <mpolacek@redhat.com>
5304 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
5305 "aux_cache->nlibs < 0".
5307 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
5308 in the reload-count case.
5310 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
5312 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
5313 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
5314 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
5315 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
5316 * sysdeps/x86_64/multiarch/strcat.S: New file.
5317 * sysdeps/x86_64/multiarch/strncat.S: New file.
5318 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
5319 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
5320 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
5321 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
5322 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
5323 (USE_AS_STRCAT): Define.
5324 Add strcat and strncat support.
5325 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
5326 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
5327 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
5328 * string/strncat.c: Update.
5329 (USE_AS_STRNCAT): Define.
5330 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5331 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
5333 * sysdeps/x86_64/multiarch/init-arch.h
5334 (bit_Prefer_PMINUB_for_stringop): New.
5335 (index_Prefer_PMINUB_for_stringop): Likewise.
5336 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
5337 bit_Prefer_PMINUB_for_stringop.
5339 2011-07-19 Ulrich Drepper <drepper@gmail.com>
5341 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
5343 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
5344 of casting of buffer.
5345 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
5346 buffer32 and buffer64.
5347 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
5348 writes instead of casting of buffer.
5349 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
5351 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
5354 2011-07-19 Andreas Schwab <schwab@redhat.com>
5356 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
5358 2011-07-19 Ulrich Drepper <drepper@gmail.com>
5360 * nscd/nscd.c (termination_handler): Don't do anything for a database
5361 if it has not yet been initialized.
5363 2011-07-18 Ulrich Drepper <drepper@gmail.com>
5365 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
5367 2011-07-15 Marek Polacek <mpolacek@redhat.com>
5369 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
5371 2011-07-18 Ulrich Drepper <drepper@gmail.com>
5373 * po/nl.po: Update from translation team.
5374 * po/sv.po: Likewise.
5376 2011-07-16 Roland McGrath <roland@hack.frob.com>
5378 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
5379 now disallowed by GCC.
5381 * configure.in (use-default-link): Default to yes if a test -shared
5382 link meets our qualifications.
5383 * configure: Regenerated.
5385 * config.make.in (output-format): New variable.
5386 * configure.in: Check for ld --print-output-format support.
5387 * configure: Regenerated.
5388 * Makerules ($(common-objpfx)format.lds)
5389 [$(output-format) != unknown]: Just use $(output-format),
5390 instead of the linker-script munging.
5392 2011-07-14 Roland McGrath <roland@hack.frob.com>
5394 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
5395 of $(common-objpfx)shlib.lds.
5396 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
5398 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
5399 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
5401 * configure.in (-z relro check): Adjust test code to add a large
5402 writable data section after it.
5403 * configure: Regenerated.
5405 2011-07-11 Roland McGrath <roland@hack.frob.com>
5407 * configure.in (-z relro check): Fix test code to make the variable
5409 * configure: Regenerated.
5411 2011-07-11 Ulrich Drepper <drepper@gmail.com>
5413 * nscd/nscd.h (struct traced_file): Define.
5414 (struct database_dyn): Remove inotify_descr, reset_res, and filename
5415 elements. Add traced_files.
5416 (inotify_fd): Declare.
5417 (register_traced_file): Declare.
5418 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
5419 (inotify_fd): Export.
5420 (resolv_conf_descr): Remove.
5421 (nscd_init): Move inotify descriptor creation to main.
5422 Don't register files for notification here.
5423 (register_traced_file): New function.
5424 (invalidate_cache): Don't use reset_res to determine whether to call
5425 res_init, go through the list of registered files.
5426 (main_loop_poll): The inotify descriptors are now stored in the
5427 structures for the traced files.
5428 (main_loop_epoll): Likewise
5429 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
5430 to __nss_disable_nscd.
5431 * nscd/cache.c (prune_cache): There is no single inotify descriptor
5432 for a database anymore. Check the records for all the registered
5434 * nss/Makefile (libnss_files-routines): Add files-init.
5435 (libnss_db-routines): Add db-init.
5436 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
5437 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
5438 * nss/nss_db/db-init.c: New file.
5439 * nss/nss_files/files-init.c: New file.
5440 * nss/nsswitch.c (nss_load_library): New function. Broken out of
5441 __nss_lookup_function.
5442 (__nss_lookup_function): Call nss_load_library.
5443 (nss_load_all_libraries): New function.
5444 (__nss_disable_nscd): Take parameter with callback function for files
5445 to register. Set is_nscd. Load all the DSOs for the NSS modules
5446 used for the cached services.
5447 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
5448 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
5449 options for features to all the files in nscd.
5451 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
5453 2011-07-10 Roland McGrath <roland@hack.frob.com>
5455 * csu/elf-init.c (__libc_csu_init): Comment typo.
5457 2011-07-09 Ulrich Drepper <drepper@gmail.com>
5459 * po/pl.po: Update from translation team.
5460 * po/ja.po: Likewise.
5461 * po/ru.po: Likewise.
5462 * po/ko.po: Likewise.
5463 * po/fr.po: Likewise.
5465 2011-07-09 Roland McGrath <roland@hack.frob.com>
5467 * configure.in (.ctors/.dtors header and trailer check):
5468 Use an empirical test on a built program.
5469 * configure: Regenerated.
5471 * configure.in (-z relro check): Use an empirical test on a built DSO.
5472 Detect, but do not require, on ia64.
5473 * configure: Regenerated.
5475 * configure.in (READELF): Find it with AC_CHECK_TOOL.
5476 Update tests that use readelf to use $READELF instead.
5477 * configure: Regenerated.
5479 2011-07-08 Ulrich Drepper <drepper@gmail.com>
5481 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
5482 if the result is not used.
5484 2011-07-05 Andreas Jaeger <aj@suse.de>
5487 * stdlib/tst-strtod.c: Add testcase.
5489 2011-07-07 Ulrich Drepper <drepper@gmail.com>
5491 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
5492 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
5493 The latter has a higher limit. Take additional parameter to pass to
5495 (__pathconf): Pass file to __statfs_link_max.
5496 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
5498 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
5502 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
5503 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
5505 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
5506 (__statfs_filesize_max): Likewise.
5507 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
5509 2011-07-05 Andreas Jaeger <aj@suse.de>
5511 * resolv/res_comp.c (dn_skipname): Remove unused variable.
5513 2011-07-06 Marek Polacek <mpolacek@redhat.com>
5515 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
5517 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
5520 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
5522 * Makefile (strop-tests): Add strncat.
5523 * string/test-strncat.c: New file.
5525 2011-06-30 Marek Polacek <mpolacek@redhat.com>
5527 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
5529 2011-06-21 Andreas Jaeger <aj@suse.de>
5531 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
5532 Copy rule from iconvdata/Makefile.
5534 2011-07-06 Ulrich Drepper <drepper@gmail.com>
5537 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
5538 but no long options are defined, just return 'W'.
5540 2011-06-22 Marek Polacek <mpolacek@redhat.com>
5543 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
5545 2011-07-06 Ulrich Drepper <drepper@gmail.com>
5547 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
5549 (innetgr): Likewise.
5551 2011-07-05 Roland McGrath <roland@hack.frob.com>
5553 * config.make.in (install_root): Default to $(DESTDIR).
5555 2011-07-05 Ulrich Drepper <drepper@gmail.com>
5557 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
5559 2011-07-02 Roland McGrath <roland@hack.frob.com>
5561 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
5563 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
5564 containing directory rather than embedding absolute directory names.
5566 * scripts/check-local-headers.sh: Rewritten using awk.
5567 Match by word, not by line. Print error messages for matches.
5568 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
5570 * Makerules [shlib-lds-flags empty]:
5571 ($(common-objpfx)libc_pic.opts): New target.
5572 ($(common-objpfx)libc_pic.os.clean): New target.
5573 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
5575 * config.make.in (OBJCOPY): New variable.
5576 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
5577 * configure: Regenerated.
5579 * config.make.in (use-default-link): New variable.
5580 * configure.in (use_default_link): Grok --with-default-link to set it.
5581 * configure: Regenerated.
5582 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
5583 (shlib-lds, shlib-lds-flags): Define to empty.
5585 * Makerules (shlib-lds): New variable.
5586 (shlib-lds-flags): New variable.
5587 (build-shlib, build-moduile, build-module-asneeded): Use it.
5588 ($(common-objpfx)libc.so): Use $(shlib-lds).
5589 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
5590 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
5592 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
5593 DT_FLAGS/DT_FLAGS_1 with zero flags.
5595 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
5596 linker script munging.
5598 2011-07-02 Ulrich Drepper <drepper@gmail.com>
5600 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
5602 * crypt/sha512.c (sha512_process_block): Perform total addition using
5603 128-bit if possible.
5604 (__sha512_finish_ctx): Likewise.
5605 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
5607 * crypt/sha256.c (SWAP64): Define.
5608 (sha256_process_block): Perform total addition using 64-bit if
5610 (__sha256_finish_ctx): Likewise.
5612 2011-07-01 Ulrich Drepper <drepper@gmail.com>
5614 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
5615 * nscd/initgrcache.c (addinitgroupsX): Likewise.
5616 * nscd/hstcache.c (cache_addhst): Likewise.
5617 * nscd/grpcache.c (cache_addgr): Likewise.
5618 * nscd/aicache.c (addhstaiX): Likewise
5619 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
5621 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
5623 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
5624 * nscd/initgrcache.c (addinitgroupsX): Likewise.
5625 * nscd/hstcache.c (cache_addhst): Likewise.
5626 * nscd/grpcache.c (cache_addgr): Likewise.
5627 * nscd/aicache.c (addhstaiX): Likewise
5629 2011-07-01 Andreas Schwab <schwab@redhat.com>
5631 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
5632 domain only when needed.
5634 2011-06-30 Andreas Schwab <schwab@redhat.com>
5636 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
5639 2011-06-29 Ulrich Drepper <drepper@gmail.com>
5641 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
5642 are re-adding the entry.
5643 * nscd/servicescache.c (cache_addserv): Likewise.
5645 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
5647 * sysdeps/generic/dl-irel.h: fix protection against multiple
5649 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
5651 2011-06-28 Ulrich Drepper <drepper@gmail.com>
5654 * malloc/memusage.sh: Fix quoting in message.
5655 * debug/xtrace.sh: Likewise.
5657 * configure.in: Remove support for --experimental-malloc option, make
5659 * config.make.in: Likewise.
5660 * malloc/Makefile: Likewise.
5662 2011-06-27 Andreas Schwab <schwab@redhat.com>
5664 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
5665 two-byte characters.
5667 2011-06-27 Roland McGrath <roland@hack.frob.com>
5669 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
5670 AC_CACHE_CHECK invocation.
5671 * configure: Regenerated.
5673 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
5675 2011-06-27 Ulrich Drepper <drepper@gmail.com>
5678 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
5679 bit from old_res_options.
5681 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
5683 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
5684 value type for setfct.
5686 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
5688 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
5689 __gettimeofday instead of gettimeofday.
5691 2011-06-26 Ulrich Drepper <drepper@gmail.com>
5693 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
5695 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
5697 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
5699 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
5702 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
5704 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
5705 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
5706 strcpy-sse2-unaligned strncpy-sse2-unaligned
5707 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
5708 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
5709 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
5710 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
5711 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
5712 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
5713 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
5714 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
5715 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
5716 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
5717 (STRCPY): Support SSE2 and SSSE3 versions.
5719 2011-06-24 Ulrich Drepper <drepper@gmail.com>
5722 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
5723 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
5724 kernels which artificially limit size of requests.
5726 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
5728 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
5729 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
5730 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
5731 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
5732 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
5733 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
5734 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
5735 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
5736 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
5737 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
5738 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
5739 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
5740 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
5741 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
5742 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
5743 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5744 Enable unaligned load optimization for Intel Core i3, i5 and i7
5746 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
5748 (index_Fast_Unaligned_Load): Define.
5749 (HAS_FAST_UNALIGNED_LOAD): Define.
5751 2011-06-23 Marek Polacek <mpolacek@redhat.com>
5753 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
5755 2011-06-22 Ulrich Drepper <drepper@gmail.com>
5758 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
5759 until it is clear that the information is realy needed.
5760 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
5762 2011-06-22 Andreas Schwab <schwab@redhat.com>
5764 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
5766 2011-06-22 Ulrich Drepper <drepper@gmail.com>
5768 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
5769 /sys/devices/system/cpu/online if it is usable.
5771 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
5772 reading the information from the /proc filesystem to once a second.
5774 2011-06-21 Andreas Jaeger <aj@suse.de>
5776 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
5777 NULL after inclusion of kernel headers.
5779 2011-06-21 Ulrich Drepper <drepper@gmail.com>
5781 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
5782 calls to internal_setent.
5785 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
5786 addresses using gethostbyname4_r ignore IPv4 addresses.
5788 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
5789 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
5791 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
5793 2011-06-20 David S. Miller <davem@davemloft.net>
5795 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
5797 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
5799 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
5801 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
5802 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
5803 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
5804 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
5805 * sysdeps/x86_64/dl-irel.h: Likewise.
5807 * elf/dl-runtime.c: Use elf_ifunc_invoke.
5808 * elf/dl-sym.c: Likewise.
5810 2011-06-15 Ulrich Drepper <drepper@gmail.com>
5812 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
5813 need to dereference resplen2.
5815 2011-06-14 Andreas Schwab <schwab@redhat.com>
5817 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
5819 2011-06-15 Ulrich Drepper <drepper@gmail.com>
5821 * Makeconfig: Define vardbdir and inst_vardbdir.
5822 * nss/Makefile: Add rules to install db-Makefile.
5824 * nss/nss_db/db-XXX.c: Cleanup.
5826 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
5827 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
5829 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
5830 * nss/makedb.c: Implement -g option to specify that value strings
5831 are generated and should not be added to table iterated over for
5833 * nss/nss_db/db-initgroups.c: New file.
5835 * nss/getent.c: Add support for initgroups lookups through getgrouplist
5838 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
5839 (internal_getgrouplist): Adjust to name change.
5840 Update use_initgroups_entry if this is not the first call.
5841 * nss/databases.def: Add initgroups entry.
5843 * nss/makedb.c (compute_tables): Check result of multiple hash table
5844 sizes to minimize maximum chain length.
5846 2011-06-14 Ulrich Drepper <drepper@gmail.com>
5848 * Versions.def: Add entry for libnss_db.
5849 * shlib-versions: Likewise.
5850 * nss/Makefile: Add rules to build libnss_db.
5851 * nss/Versions: Add libnss_db information. Organize libnss_files
5853 * nss/db-Makefile: Add gshadow support. Change rules for the new
5854 makedb progra. Some minor improvements to generate smaller files.
5855 * nss/nss_db/nss_db.h: Move NSS database header data structures to
5857 * nss/makedb.c: ...here.
5858 Improve database format to be smaller and require less memory at
5860 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
5862 * nss/nss_db/db-netgrp.c: Likewise.
5863 * nss/nss_db/db-open.c: Likewise.
5864 * nss/nss_files/flies-XXX.x: Adjust comments.
5865 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
5866 * nss/nss_files/files-grp.c: Likewise.
5867 * nss/nss_files/files-hosts.c: Likewise.
5868 * nss/nss_files/files-network.c: Likewise.
5869 * nss/nss_files/files-proto.c: Likewise.
5870 * nss/nss_files/files-pwd.c: Likewise.
5871 * nss/nss_files/files-rpc.c: Likewise.
5872 * nss/nss_files/files-service.c: Likewise.
5873 * nss/nss_files/files-sgrp.c: Likewise.
5874 * nss/nss_files/files-spwd.c: Likewise.
5875 * nss/nss_db/db-alias.c: Removed.
5876 * nss/nss_db/dummy-db.h: Removed.
5878 2011-06-02 Ulrich Drepper <drepper@gmail.com>
5880 * nss/makedb.c: Rewritten to not use database library.
5881 * nss/Makefile: Update to build new makedb program.
5883 2011-06-14 Andreas Jaeger <aj@suse.de>
5885 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
5888 2011-06-10 Andreas Schwab <schwab@redhat.com>
5890 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
5893 2011-06-10 Roland McGrath <roland@hack.frob.com>
5895 * Makerules (shlib.lds): Fail if the linker script comes out empty.
5896 * elf/Makefile ($(objpfx)ld.so): Likewise.
5898 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
5899 Don't list ld.so twice in dependencies.
5901 * posix/bug-regex31.c: Include <stdlib.h>.
5903 * nscd/hstcache.c (cache_addhst): Remove unused variable.
5905 * nis/nss_compat/compat-spwd.c
5906 (getspent_next_nss_netgr): Remove unused variable.
5907 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
5909 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
5910 nonmembers" output to use the right array.
5912 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
5914 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
5916 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
5917 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
5918 * catgets/gencat.c (read_input_file): Likewise.
5919 * locale/programs/locarchive.c (enlarge_archive): Likewise.
5921 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
5922 variable definition inside #if's controlling its use.
5924 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
5926 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
5928 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
5930 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
5933 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
5935 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
5936 * configure: Regenerated.
5938 * Makerules: Revert last change.
5939 * elf/Makefile: Likewise.
5941 2011-06-09 Roland McGrath <roland@hack.frob.com>
5943 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
5944 * elf/Makefile ($(objpfx)librtld.os): Likewise.
5945 (reloc-link): Likewise.
5947 2011-06-09 Ulrich Drepper <drepper@gmail.com>
5949 * elf/Makefile: Add rules to build pldd.
5950 * elf/pldd.c: New file.
5951 * elf/pldd-xx.c: New file.
5953 2011-06-07 Ulrich Drepper <drepper@gmail.com>
5955 * version.h: Update for 2.15 development version.
5957 2011-06-07 David S. Miller <davem@davemloft.net>
5959 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
5961 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
5962 elf_machine_lazy_rel): Likewise.
5963 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
5964 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
5965 elf_machine_lazy_rel): Likewise.
5966 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
5967 dl_hwcap via passed in argument.
5968 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
5971 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5973 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
5975 2011-06-06 Roland McGrath <roland@hack.frob.com>
5978 * manual/fdl-1.1.texi: New file, verbatim from:
5979 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
5980 * manual/lgpl-2.1.texi: New file, verbatim from:
5981 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
5982 * manual/Makefile (licenses): New variable, list those new file names.
5984 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
5986 * manual/fdl.texi: File removed.
5987 * manual/lesser.texi: File removed.
5988 * manual/libc.texinfo (Copying, Documentation License):
5989 Use new @include file names, put @appendix directive before @include.
5991 2011-06-04 Jakub Jelinek <jakub@redhat.com>
5994 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
5995 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
5996 (mq_open): Add __NTH.
5998 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
6000 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6001 Assume Intel Core i3/i5/i7 processor if AVX is available.
6003 2011-05-31 Ulrich Drepper <drepper@gmail.com>
6005 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
6008 2011-05-31 Andreas Schwab <schwab@redhat.com>
6010 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
6011 memory. Use alloca_account. Fix memory leak when retrying.
6013 2011-05-31 Ulrich Drepper <drepper@gmail.com>
6015 * version.h (RELEASE): Bump for 2.14 release.
6016 * include/features.h (__GLIBC_MINOR__): Bump to 14.
6018 * config.make.in (RANLIB): Remove entry.
6020 2011-05-30 Ulrich Drepper <drepper@gmail.com>
6022 * po/Makefile (po-sed-cmd): Add ksh to extensions.
6023 (libc.pot): Work around missing support for .ksh extension in xgettext.
6026 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
6027 if both request failed.
6028 (send_dg): In case of server errors clear resplen or *resplen2.
6031 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
6032 when there are multiple maps.
6033 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
6034 (_dl_fini): Remove test here.
6036 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
6038 2011-05-29 Ulrich Drepper <drepper@gmail.com>
6041 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
6042 bit from old_res_options.
6043 (gaih_inet): Likewise.
6046 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
6049 * resolv/res_init.c (res_setoptions): Make the code more compact.
6052 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
6056 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
6058 * malloc/malloc.h: Mark malloc hook variables as deprecated.
6061 * malloc/malloc.h: Declare malloc hook variables as volatile.
6063 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
6067 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
6068 raise in the comment.
6069 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
6070 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
6071 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
6073 2011-05-28 Ulrich Drepper <drepper@gmail.com>
6076 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
6077 grow the buffers more if it already has to be sufficient.
6078 (build_wcs_upper_buffer): Likewise.
6079 * posix/regexec.c (check_matching): Likewise.
6080 (clean_state_log_if_needed): Likewise.
6081 (extend_buffers): Don't enlarge buffers beyond size of the input
6083 Patches mostly by Emil Wojak <emil@wojak.eu>.
6084 * posix/bug-regex32.c: New file.
6085 * posix/Makefile (tests): Add bug-regex32.
6087 * locale/findlocale.c (_nl_find_locale): Return right away if
6088 _nl_explode_name failed.
6089 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
6091 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
6093 * debug/xtrace.sh: Unify messages.
6094 * malloc/memusage.sh: Likewise.
6097 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
6098 time symbol from vDSO. Substitute with vsyscall if not available.
6099 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
6102 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
6103 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
6104 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
6105 Add sendmmsg and internal_sendmmsg.
6106 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
6107 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
6108 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
6110 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
6111 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
6112 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
6114 2011-05-27 Ulrich Drepper <drepper@gmail.com>
6117 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
6118 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
6120 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
6124 * iconvdata/Makefile (tests): Add bug-iconv9.
6125 * iconvdata/bug-iconv9.c: New file.
6127 2011-05-27 Andreas Schwab <schwab@redhat.com>
6130 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
6132 2011-05-25 Jakub Jelinek <jakub@redhat.com>
6134 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
6135 (struct user_regs_struct): Change intcs field back to cs.
6137 2011-05-25 Ulrich Drepper <drepper@gmail.com>
6139 * po/ja.po: Update from translation team.
6141 2011-05-23 Ulrich Drepper <drepper@gmail.com>
6144 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
6145 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
6147 2011-05-20 Andreas Schwab <schwab@redhat.com>
6149 * stdlib/longlong.h: Update from GCC.
6151 2011-05-23 Andreas Schwab <schwab@redhat.com>
6153 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
6155 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
6157 (__sysconf): Pass it down.
6159 2011-05-22 Ulrich Drepper <drepper@gmail.com>
6162 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
6164 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
6165 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
6166 add in in __libc_use_alloca calls. Adjust callers.
6167 (glob): Use malloc in some situations.
6169 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
6170 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
6173 2011-05-21 Ulrich Drepper <drepper@gmail.com>
6175 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
6176 and CLOCK_BOOTTIME_ALARM.
6179 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
6182 * string/_strerror.c (__strerror_r): Print negative errors as signed
6186 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
6187 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
6188 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
6190 * configure.in: Fix typo in redirection and correct removal of test
6194 * locale/setlocale.c (new_composite_name): Fix test to check for
6195 identical name of all categories.
6198 * libio/filedoalloc.c (local_isatty): New function.
6199 (_IO_file_doallocate): Use local_isatty.
6200 * stdio-common/perror.c (perror): In case a new stream is used
6201 forward the stream error.
6202 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
6205 2011-05-20 Ulrich Drepper <drepper@gmail.com>
6208 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
6210 * include/alloca.h (extend_alloca_account): Define.
6213 * posix/regex.h: Fix comments with documentation of user-accessible
6214 fields after compilation and describe correct free'ing of pattern
6215 after re_compile_pattern.
6216 Patch by Reuben Thomas <rrt@sc3d.org>.
6218 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
6220 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
6221 and -mno-altivec to prevent the compiler from using Altivec and/or
6222 VSX instructions when the corresponding registers are not available.
6224 2011-05-19 Andreas Schwab <schwab@redhat.com>
6226 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
6228 2011-05-19 Ulrich Drepper <drepper@gmail.com>
6230 * libio/freopen.c (freopen): Use __dup2, not dup2.
6231 * libio/freopen64.c (freopen64): Likewise.
6233 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
6236 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
6237 * math/Makefile (tests): Add test-powl.
6238 (CFLAGS-test-powl.c): Define.
6239 * math/test-powl.c: New file.
6241 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
6243 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
6245 2011-05-17 Ulrich Drepper <drepper@gmail.com>
6248 * iconvdata/gb18030.c: Update to GB18020-2005.
6250 2011-05-16 Ulrich Drepper <drepper@gmail.com>
6252 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
6253 RE_SYNTAX_POSIX_AWK): Update to match recent development.
6254 Patch by Aharon Robbins <arnold@skeeve.com>.
6257 * stdlib/putenv.c (putenv): Don't always create copy of the variable
6261 * misc/pselect.c (__pselect): Handle timeout value errors hidden
6265 * misc/error.c (error_at_line): Ensure file_name and old_file_name
6266 point to strings before performing equality test for error_one_per_line
6270 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
6273 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
6274 (struct user_fpregs_struct): Avoid __uint*_t types.
6277 * malloc/mtrace.c (tr_where): Add additional parameter to point to
6278 symbol info. Use it instead of calling _dl_addr locally.
6279 (lock_and_info): New function.
6280 (tr_freehook): Call lock_and_info and pass symbol info as additional
6281 parameter to tr_where.
6282 (tr_mallochook): Likewise.
6283 (tr_reallochook): Likewise.
6284 (tr_memalignhook): Likewise.
6286 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
6287 used and couldn't be at all thread-safe.
6289 2011-05-15 Ulrich Drepper <drepper@gmail.com>
6291 * libio/freopen.c (freopen): Don't close old file descriptor
6292 before the new one is opened. Instead dup the new file descriptor
6293 to the old one after the new stream is created.
6294 * libio/freopen64.c (freopen64): Likewise.
6295 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
6296 * libio/fileops.c (_IO_new_file_close_it): Handle new
6297 _IO_FLAGS2_NOCLOSE flag.
6298 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
6299 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
6300 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
6301 _IO_FLAGS2_NOCLOSE flag.
6302 * include/unistd.h: Add hidden_proto for dup3.
6304 * io/dup3.c: Define hidden symbol.
6305 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
6308 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
6309 when an incomplete long option is used.
6310 * posix/tst-getopt_long1.c: New file.
6311 * posix/Makefile (tests): Add tst-getopt_long1.
6314 * scripts/config.guess: Update from autoconf-2.68.
6315 * scripts/config.sub: Likewise.
6318 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
6320 (has_cpuclock): ...this. New function.
6321 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
6322 macro here based on has_cpuclock code.
6325 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
6326 First byte (not low byte) is now always NUL.
6327 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
6329 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
6330 Use non-cancelable interfaces.
6333 * locale/iso-639.def: Add entry for Sorani.
6336 * include/stdlib.h: Move include protection to the right place.
6337 Define abort_msg_s. Declare __abort_msg with it.
6338 * stdlib/abort.c (__abort_msg): Adjust type.
6339 * assert/assert.c (__assert_fail_base): New function. Majority
6340 of code from __assert_fail. Allocate memory for __abort_msg with
6342 (__assert_fail): Now call __assert_fail_base.
6343 * assert/assert-perr.c: Remove bulk of implementation. Use
6345 * include/assert.hL Declare __assert_fail_base.
6346 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
6348 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
6350 2011-05-14 Ulrich Drepper <drepper@gmail.com>
6354 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
6355 until all modules are registered in the DTV.
6356 * elf/Makefile: Add rules to build and run tst-tls19.
6357 * elf/tst-tls19.c: New file.
6358 * elf/tst-tls19mod1.c: New file.
6359 * elf/tst-tls19mod2.c: New file.
6360 * elf/tst-tls19mod3.c: New file.
6361 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
6364 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
6368 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
6369 two-byte sequence errors.
6370 * iconvdata/Makefile (tests): Add bug-iconv8.
6371 * iconvdata/bug-iconv8.c: New file.
6374 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
6377 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
6380 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
6381 (dummy_getcfa): New function.
6382 (init): Get _Unwind_GetCFA address, use dummy if not found.
6383 (backtrace_helper): In recursion check, also check whether CFA changes.
6384 (__backtrace): Completely initialize arg.
6386 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
6387 storing incomplete byte sequence in state object. Avoid testing for
6388 guaranteed too small input if we know there is enough data available.
6390 2011-05-11 Andreas Schwab <schwab@redhat.com>
6392 * Makeconfig (+link-pie): Indent.
6393 * Rules (binaries-pie): Define if $(have-fpie) and
6395 (binaries-shared): Also filter out $(binaries-pie).
6396 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
6397 * nscd/Makefile (others-pie): Add nscd.
6398 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
6399 ($(objpfx)nscd): Remove command override.
6400 * login/Makefile (others-pie): Add pt_chown.
6401 ($(objpfx)pt_chown): Remove command override.
6402 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
6403 remove command overrides.
6405 2011-05-13 Ulrich Drepper <drepper@gmail.com>
6407 * libio/tst_putwc.c: Fix error messages.
6410 * libio/fileops.c (_IO_new_file_close_it): Always flush when
6411 currently writing and seek to current position when not.
6412 * libio/Makefile (tests): Add bug-fclose1.
6413 * libio/bug-fclose1.c: New file.
6415 2011-05-12 Ulrich Drepper <drepper@gmail.com>
6418 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
6419 don't set DF_1_NODELETE here.
6420 (do_lookup_x): When entering new entry test for copy relocation
6421 and if necessary set DF_1_NODELETE flag.
6422 * elf/tst-unique4.cc: New file.
6423 * elf/tst-unique4.h: New file.
6424 * elf/tst-unique4lib.cc: New file.
6425 * elf/Makefile: Add rules to build and run tst-unique4.
6426 Patch by Piotr Bury <pbury@goahead.com>.
6428 2011-05-11 Ulrich Drepper <drepper@gmail.com>
6431 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
6434 * misc/mntent_r.c (addmntent): Flush the stream after the output
6437 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
6438 (is_trusted_path_normalize): Skip initial colon. Append slash
6439 to empty buffer. Duplicate is_trusted_path code but allow
6440 constructed patch to be prefix.
6441 (is_dst): Allow $ORIGIN followed by /.
6442 (_dl_dst_substitute): Correct clearing of check_for_trusted.
6443 Correct testing of result of is_trusted_path_normalize
6444 (decompose_rpath): Fix warning.
6446 2011-05-10 Ulrich Drepper <drepper@gmail.com>
6449 * grp/initgroups.c (internal_getgrouplist): When we found the service
6450 list through the initgroups entry in nsswitch.conf do not always
6451 continue on a successful lookup. Don't always use the
6452 __nss_group_database value if it is set.
6453 * nss/nsswitch.conf (initgroups): Change action for successful db
6454 lookup to continue for compatibility.
6456 2011-05-09 Ulrich Drepper <drepper@gmail.com>
6459 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
6461 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
6463 * iconvdata/tst-tables.sh: Likewise.
6464 * iconvdata/cp770.c: New file.
6465 * iconvdata/cp771.c: New file.
6466 * iconvdata/cp772.c: New file.
6467 * iconvdata/cp773.c: New file.
6468 * iconvdata/cp774.c: New file.
6469 * iconvdata/testdata/CP770: New file.
6470 * iconvdata/testdata/CP770..UTF8: New file.
6471 * iconvdata/testdata/CP771: New file.
6472 * iconvdata/testdata/CP771..UTF8: New file.
6473 * iconvdata/testdata/CP772: New file.
6474 * iconvdata/testdata/CP772..UTF8: New file.
6475 * iconvdata/testdata/CP773: New file.
6476 * iconvdata/testdata/CP773..UTF8: New file.
6477 * iconvdata/testdata/CP774: New file.
6478 * iconvdata/testdata/CP774..UTF8: New file.
6480 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
6482 * iconvdata/gen-8bit-gap.sh: Likewise.
6483 * iconvdata/gen-8bit.sh: Likewise.
6485 * locale/iso-639.def: Add ary entry.
6488 * locale/C-translit.h.in: Add U20A1 transliteration.
6491 * locale/iso-639.def: Add wae entry.
6492 Patch by Kevin Bortis <bortis@translate-wae.ch>.
6495 * locale/programs/localedef.c (construct_output_path): Use ssize_t
6499 * locale/C-translit.h.in: Add entry for U20B9.
6500 Patch by pravin.d.s@gmail.com.
6502 2011-05-08 Ulrich Drepper <drepper@gmail.com>
6505 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
6506 ENAMETOOLONG use generic getcwd.
6507 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
6508 in rtld. Use *stat64.
6509 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6510 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
6511 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6512 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
6513 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
6514 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
6515 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
6517 * include/dirent.h: Add libc_hidden_proto for rewinddir.
6518 * dirent/rewinddir.c: Add libc_hidden_def.
6519 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6520 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
6522 * include/dirent.h (__alloc_dir): Add flags parameter.
6523 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
6524 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
6526 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
6527 from fdopendir if O_CLOEXEC is already set.
6529 2011-03-15 Alan Modra <amodra@gmail.com>
6531 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
6532 l_tls_firstbyte_offset non-zero. Save padding offset in
6533 l_tls_firstbyte_offset for later use.
6534 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
6535 freeing static tls block.
6537 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
6539 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
6540 where #ifdef was intended. The intent is to prevent ARG_MAX from
6541 being defined by the kernel headers.
6543 2011-05-07 Ulrich Drepper <drepper@gmail.com>
6546 * resolv/resolv.h: Define RES_NOTLDQUERY.
6547 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
6548 no-tld-query and set RES_NOTLDQUERY.
6549 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
6550 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
6551 modern BIND to search name as TLD unless forbidden.
6553 2011-05-07 Petr Baudis <pasky@suse.cz>
6554 Ulrich Drepper <drepper@gmail.com>
6557 * elf/dl-load.c (fillin_rpath): Move trusted path check...
6558 (is_trusted_path): ...to here.
6559 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
6560 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
6561 using is_trusted_path_normalize() in setuid scripts.
6563 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
6565 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
6566 __BEGIN/__END_DECLS.
6568 2011-05-06 Ulrich Drepper <drepper@gmail.com>
6570 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
6571 NSS_STATUS_NOTFOUND if no record was found.
6573 2011-05-05 Andreas Schwab <schwab@redhat.com>
6575 * sunrpc/Makefile (headers): Add rpc/netdb.h.
6576 (headers-not-in-tirpc): Remove rpc/netdb.h
6577 * resolv/netdb.h: Revert last change.
6579 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
6581 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
6582 circular dependency between libgcc.a and libc.a.
6584 2011-05-05 Andreas Schwab <schwab@redhat.com>
6586 * resolv/netdb.h: Don't include <rpc/netdb.h>.
6587 * nis/Makefile: Don't install rpcsvc/*.
6588 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
6589 instead of <rpc/types.h>.
6590 (MAXHOSTNAMELEN): Define.
6592 2011-05-03 Andreas Schwab <schwab@redhat.com>
6594 * elf/ldconfig.c (add_dir): Don't crash on empty path.
6596 2011-04-28 Maciej Babinski <mbabinski@google.com>
6599 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
6600 gethostbyname4_r when IPv6 results are possible.
6602 2011-05-02 Ulrich Drepper <drepper@gmail.com>
6605 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
6606 _PC_PIPE_BUF handling.
6608 2011-04-30 Bruno Haible <bruno@clisp.org>
6611 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
6612 * resolv/netdb.h (getnameinfo): Change type of flags parameter
6614 * inet/getnameinfo.c (getnameinfo): Likewise.
6616 2011-04-29 Ulrich Drepper <drepper@gmail.com>
6618 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
6619 to groups setting in database lookup.
6620 * nss/nsswitch.conf: Add initgroups entry.
6622 2011-04-22 Ulrich Drepper <drepper@gmail.com>
6625 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
6627 Patch by Eric Blake <eblake@redhat.com>.
6629 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
6631 * sunrpc/Makefile (need-export-routines): Add svc_run.
6632 (routines): Remove svc_run.
6633 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
6634 * sunrpc/clnt_perr.c (clnt_perrno): Export.
6635 * sunrpc/svc_run.c (svc_run): Likewise.
6636 * sunrpc/svc_udp.c (svcudp_create): Likewise.
6638 2011-04-21 Ulrich Drepper <drepper@gmail.com>
6640 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
6641 problem in reallocation in last patch.
6643 2011-04-20 Ulrich Drepper <drepper@gmail.com>
6645 * sunrpc/Makefile: Move inclusion of Rules.
6647 2011-04-19 Ulrich Drepper <drepper@gmail.com>
6649 * nss/nss_files/files-initgroups.c: New file.
6650 * nss/Makefile (libnss_files-routines): Add files-initgroups.
6651 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
6652 _nss_files_initgroups_dyn.
6654 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
6656 * elf/elf.h (R_ARM_IRELATIVE): Define.
6658 2011-04-19 Ulrich Drepper <drepper@gmail.com>
6660 * po/ru.po: Update from translation team.
6662 2011-04-17 Ulrich Drepper <drepper@gmail.com>
6664 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
6667 2011-02-06 Mike Frysinger <vapier@gentoo.org>
6670 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
6671 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
6672 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
6673 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
6674 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
6676 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
6678 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
6680 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
6681 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
6682 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
6684 2011-04-17 Ulrich Drepper <drepper@gmail.com>
6687 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
6689 * stdlib/bug-getcontext.c: New file.
6690 * stdlib/Makefile: Add rules to build and run bug-getcontext.
6692 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6694 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
6695 instructions into .machine "z9-109".
6696 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
6697 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
6699 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6701 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
6702 between environment variables and auxiliary vector.
6704 2011-04-16 Ulrich Drepper <drepper@gmail.com>
6706 * Makefile: Add rules to build linkobj/libc.so.
6707 * include/libc-symbols.h: Define libc_hidden_nolink.
6708 * include/rpc/auth.h: Mark functions which are to be hidden.
6709 * include/rpc/auth_des.h: Likewise.
6710 * include/rpc/auth_unix.h: Likewise.
6711 * include/rpc/clnt.h: Likewise.
6712 * include/rpc/des_crypt.h: Likewise.
6713 * include/rpc/key_prot.h: Likewise.
6714 * include/rpc/pmap_clnt.h: Likewise.
6715 * include/rpc/pmap_prot.h: Likewise.
6716 * include/rpc/pmap_rmt.h: Likewise.
6717 * include/rpc/rpc_msg.h: Likewise.
6718 * include/rpc/svc.h: Likewise.
6719 * include/rpc/svc_auth.h: Likewise.
6720 * include/rpc/xdr.h: Likewise.
6721 * nis/Makefile: Link all DSOs against linkobj/libc.so.
6722 * nss/Makefile: Likewise.
6723 * sunrpc/Makefile: Don't install headers. Build library with normal
6724 entry points. Don't build rpcinfo. Link RPC tests appropriately.
6725 * sunrpc/auth_des.c: Hide exported symbols by default, export some
6726 for the compat linking library. Remove use of INTDEF/INTUSE.
6727 * sunrpc/auth_none.c: Likewise.
6728 * sunrpc/auth_unix.c: Likewise.
6729 * sunrpc/authdes_prot.c: Likewise.
6730 * sunrpc/authuxprot.c: Likewise.
6731 * sunrpc/clnt_gen.c: Likewise.
6732 * sunrpc/clnt_perr.c: Likewise.
6733 * sunrpc/clnt_raw.c: Likewise.
6734 * sunrpc/clnt_simp.c: Likewise.
6735 * sunrpc/clnt_tcp.c: Likewise.
6736 * sunrpc/clnt_udp.c: Likewise.
6737 * sunrpc/clnt_unix.c: Likewise.
6738 * sunrpc/des_crypt.c: Likewise.
6739 * sunrpc/des_soft.c: Likewise.
6740 * sunrpc/get_myaddr.c: Likewise.
6741 * sunrpc/key_call.c: Likewise.
6742 * sunrpc/key_prot.c: Likewise.
6743 * sunrpc/netname.c: Likewise.
6744 * sunrpc/pm_getmaps.c: Likewise.
6745 * sunrpc/pm_getport.c: Likewise.
6746 * sunrpc/pmap_clnt.c: Likewise.
6747 * sunrpc/pmap_prot.c: Likewise.
6748 * sunrpc/pmap_prot2.c: Likewise.
6749 * sunrpc/pmap_rmt.c: Likewise.
6750 * sunrpc/publickey.c: Likewise.
6751 * sunrpc/rpc_cmsg.c: Likewise.
6752 * sunrpc/rpc_common.c: Likewise.
6753 * sunrpc/rpc_dtable.c: Likewise.
6754 * sunrpc/rpc_prot.c: Likewise.
6755 * sunrpc/rpc_thread.c: Likewise.
6756 * sunrpc/rtime.c: Likewise.
6757 * sunrpc/svc.c: Likewise.
6758 * sunrpc/svc_auth.c: Likewise.
6759 * sunrpc/svc_authux.c: Likewise.
6760 * sunrpc/svc_raw.c: Likewise.
6761 * sunrpc/svc_run.c: Likewise.
6762 * sunrpc/svc_simple.c: Likewise.
6763 * sunrpc/svc_tcp.c: Likewise.
6764 * sunrpc/svc_udp.c: Likewise.
6765 * sunrpc/svc_unix.c: Likewise.
6766 * sunrpc/svcauth_des.c: Likewise.
6767 * sunrpc/xcrypt.c: Likewise.
6768 * sunrpc/xdr.c: Likewise.
6769 * sunrpc/xdr_array.c: Likewise.
6770 * sunrpc/xdr_float.c: Likewise.
6771 * sunrpc/xdr_intXX_t.c: Likewise.
6772 * sunrpc/xdr_mem.c: Likewise.
6773 * sunrpc/xdr_rec.c: Likewise.
6774 * sunrpc/xdr_ref.c: Likewise.
6775 * sunrpc/xdr_sizeof.c: Likewise.
6776 * sunrpc/xdr_stdio.c: Likewise.
6778 2011-04-10 Ulrich Drepper <drepper@gmail.com>
6781 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
6782 * sysdeps/ia64/dl-tls.h: Likewise.
6783 * sysdeps/powerpc/dl-tls.h: Likewise.
6784 * sysdeps/s390/dl-tls.h: Likewise.
6785 * sysdeps/sh/dl-tls.h: Likewise.
6786 * sysdeps/sparc/dl-tls.h: Likewise.
6787 * sysdeps/x86_64/dl-tls.h: Likewise.
6788 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
6790 2011-03-14 Andreas Schwab <schwab@redhat.com>
6792 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
6793 rpath element also skip the following colon.
6794 (expand_dynamic_string_token): Add is_path parameter and pass
6795 down to DL_DST_REQUIRED and _dl_dst_substitute.
6796 (decompose_rpath): Call expand_dynamic_string_token with
6797 non-zero is_path. Ignore empty rpaths.
6798 (_dl_map_object_from_fd): Call expand_dynamic_string_token
6801 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
6803 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
6806 2011-04-09 Ulrich Drepper <drepper@gmail.com>
6809 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
6810 Patch by Filipe David Manana <fdmanana@apache.org>.
6812 2011-04-07 Andreas Schwab <schwab@redhat.com>
6814 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
6815 Maintain aligned stack.
6816 (CHECK_RSP): Remove unused macro.
6818 2011-04-03 Ulrich Drepper <drepper@gmail.com>
6820 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
6821 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
6823 2011-04-02 Ulrich Drepper <drepper@gmail.com>
6825 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
6827 * include/features.h: Mention __USE_XOPEN2K8 in comment.
6829 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
6832 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
6833 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
6834 * sysdeps/x86_64/memmove.c: New file.
6835 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
6836 (memcpy): Renamed to ...
6837 (__new_memcpy): This.
6838 (memcpy): Provide GLIBC_2_14 memcpy.
6839 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
6840 (memcpy): Provide GLIBC_2_2_5 memcpy.
6842 2011-04-01 Ulrich Drepper <drepper@gmail.com>
6845 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
6847 2011-03-30 Andreas Schwab <schwab@redhat.com>
6849 * misc/syncfs.c: New file.
6850 * misc/Makefile (routines): Add syncfs.
6851 * posix/unistd.h: Declare syncfs.
6852 * sysdeps/unix/syscalls.list: Add syncfs.
6854 2011-04-01 Andreas Schwab <schwab@redhat.com>
6856 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
6858 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
6859 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
6860 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
6861 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
6862 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
6863 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
6864 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
6866 2011-04-01 Ulrich Drepper <drepper@gmail.com>
6868 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
6869 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
6870 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
6871 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
6872 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
6873 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
6874 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
6876 * io/Makefile: Compile fallocate.c, fallocate64.c, and
6877 sync_file_range.c with -fexceptions.
6878 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
6879 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
6880 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
6881 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
6882 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
6883 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
6884 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
6885 sync_file_range as cancellation point
6886 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
6887 now a wrapper around __call_sync_file_range with cancellation handling.
6888 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
6889 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
6890 function name to __call_sync_file_range.
6891 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
6892 Add call_sync_file_range.
6894 2011-04-01 Andreas Schwab <schwab@redhat.com>
6896 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6899 2011-04-01 Ulrich Drepper <drepper@gmail.com>
6901 * iconv/iconv.h: Fix typo in comment.
6902 * io/fcntl.h: Likewise.
6903 * libio/stdio.h: Likewise.
6904 * posix/spawn.h: Likewise.
6905 * posix/unistd.h: Likewise.
6906 * stdlib/stdlib.h: Likewise.
6907 * time/time.h: Likewise.
6908 * wcsmbs/wchar.h: Likewise.
6910 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
6911 open_by_handle): Add.
6912 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
6913 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
6914 Augment a few comments.
6915 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
6916 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
6917 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
6918 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
6919 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
6920 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
6923 * io/fcntl.h (AT_EMPTY_PATH): Define.
6925 2011-03-30 Ulrich Drepper <drepper@gmail.com>
6927 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
6928 * sysdeps/unix/sysv/linux/bits/time.h: New file.
6929 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
6931 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
6932 * Versions.def: Add GLIBC_2.14.
6933 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
6936 2011-03-22 Ulrich Drepper <drepper@gmail.com>
6938 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
6940 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
6942 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
6945 * string/test-strncmp.c (do_page_test): New function.
6947 (test_main): Call check2.
6948 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
6950 2011-03-20 Ulrich Drepper <drepper@gmail.com>
6953 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
6954 Handle cache information in CPU leaf 4.
6955 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
6957 2011-03-18 Ulrich Drepper <drepper@gmail.com>
6960 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
6961 character representation.
6962 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
6964 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
6966 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
6967 END(__isnan) to END(__isnanf) to match function entry point/label
6968 EALIGN(__isnanf,...).
6970 2011-03-10 Jakub Jelinek <jakub@redhat.com>
6972 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
6974 2011-03-10 Ulrich Drepper <drepper@gmail.com>
6977 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
6978 copy from the symbol referenced in the relocation to initialize the
6980 Patch by Piotr Bury <pbury@goahead.com>.
6981 * elf/Makefile: Add rules to build and tst-unique3.
6982 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
6983 * elf/tst-unique3.cc: New file.
6984 * elf/tst-unique3.h: New file.
6985 * elf/tst-unique3lib.cc: New file.
6986 * elf/tst-unique3lib2.cc: New file.
6988 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
6990 2011-03-10 Mike Frysinger <vapier@gentoo.org>
6992 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
6993 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
6996 2011-03-06 Ulrich Drepper <drepper@gmail.com>
6998 * elf/dl-load.c (_dl_map_object): If we are looking for the first
6999 to-be-loaded object along a path to loader is ld.so.
7001 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
7002 Ulrich Drepper <drepper@gmail.com>
7004 * sysdeps/x86_64/memset.S: After aligning destination, code
7005 branches to different locations depending on the value of
7006 misalignment, when multiarch is enabled. Fix this.
7008 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
7010 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
7011 Set _x86_64_preferred_memory_instruction for AMD processsors.
7012 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7013 Set bit_Prefer_SSE_for_memop for AMD processors.
7015 2011-03-04 Ulrich Drepper <drepper@gmail.com>
7017 * libio/fmemopen.c (fmemopen): Optimize a bit.
7019 2011-03-03 Andreas Schwab <schwab@redhat.com>
7021 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
7023 2011-03-03 Roland McGrath <roland@redhat.com>
7025 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
7027 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
7029 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
7030 __bzero_ultra1 instead of __memset_ultra1.
7032 2011-02-23 Andreas Schwab <schwab@redhat.com>
7033 Ulrich Drepper <drepper@gmail.com>
7036 * include/link.h (struct link_map): Add l_orig_initfini.
7037 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
7038 returning unsuccessfully.
7039 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
7040 close of a file loaded at startup, restore the original l_initfini
7042 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
7043 list, store the pointer.
7044 * elf/Makefile ($(objpfx)noload-mem): New rule.
7045 (noload-ENV): Define.
7046 (tests): Add $(objpfx)noload-mem.
7047 * elf/noload.c: Include <memcheck.h>.
7048 (main): Call mtrace. Close all opened handles.
7050 2011-02-17 Andreas Schwab <schwab@redhat.com>
7053 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
7054 dependencies are missing.
7056 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
7058 Fix __if_freereq crash: Unlike the generic version which uses free,
7060 * sysdeps/mach/hurd/ifreq.h: New file.
7062 2011-01-27 Petr Baudis <pasky@suse.cz>
7063 Ulrich Drepper <drepper@gmail.com>
7066 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
7068 * stdio-common/bug23.c: New file.
7069 * stdio-common/Makefile (tests): Add bug23.
7071 2010-09-28 Andreas Schwab <schwab@redhat.com>
7072 Ulrich Drepper <drepper@gmail.com>
7075 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
7076 before performing relro protection. At old place add assertion
7077 to make sure nothing changed.
7079 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
7080 Glauber de Oliveira Costa <glommer@gmail.com>
7082 * elf/elf.h: Add new ARM TLS relocs.
7084 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
7086 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
7087 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
7089 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
7091 * sysdeps/wordsize-64/tst-writev.c: New file.
7093 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
7095 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
7096 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
7097 insns in _dl_start to prevent a TOC reference before relocs are
7100 2011-02-15 Ulrich Drepper <drepper@gmail.com>
7103 * Makeconfig: Remove RANLIB definition.
7104 * Makerules: Don't use RANLIB.
7105 * aclocal.m4: Remove ranlib test.
7106 * configure.in: No need to check for ranlib.
7107 * elf/rtld-Rules: Don't use RANLIB.
7109 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
7111 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
7113 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
7114 inclusion protection macro.
7116 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
7117 SIGRTMIN and SIGRTMAX and print information in that case only when
7118 SIGRTMIN is defined.
7120 2011-02-11 Jakub Jelinek <jakub@redhat.com>
7122 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
7123 arginfo fn returning -1.
7125 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
7126 and thousands string is zero terminated.
7128 2011-02-03 Andreas Schwab <schwab@redhat.com>
7130 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
7131 sysdeps/unix/sysv/linux/bits/socket.h.
7133 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
7135 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
7136 (__CPU_COUNT): Remove old macros.
7137 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
7138 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
7139 (__CPU_ALLOC, __CPU_FREE): Add macros.
7140 (__sched_cpualloc, __sched_cpufree): Add declarations.
7142 2011-02-05 Ulrich Drepper <drepper@gmail.com>
7144 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
7145 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
7146 * nscd/aicache.c (addhstaiX): Return timeout of added value.
7147 (readdhstai): Return value of addhstaiX call.
7148 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
7149 (addgrbyX): Return value returned by cache_addgr.
7150 (readdgrbyname): Return value returned by addgrbyX.
7151 (readdgrbygid): Likewise.
7152 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
7153 (addpwbyX): Return value returned by cache_addpw.
7154 (readdpwbyname): Return value returned by addhstbyX.
7155 (readdpwbyuid): Likewise.
7156 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
7157 (addservbyX): Return value returned by cache_addserv.
7158 (readdservbyname): Return value returned by addservbyX:
7159 (readdservbyport): Likewise.
7160 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
7161 (addhstbyX): Return value returned by cache_addhst.
7162 (readdhstbyname): Return value returned by addhstbyX.
7163 (readdhstbyaddr): Likewise.
7164 (readdhstbynamev6): Likewise.
7165 (readdhstbyaddrv6): Likewise.
7166 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
7167 (readdinitgroups): Return value returned by addinitgroupsX.
7168 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
7169 (prune_cache): Keep track of timeout value of re-added entries.
7170 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
7171 * nscd/nscd.h: Adjust prototypes of readd* functions.
7173 2011-02-04 Roland McGrath <roland@redhat.com>
7175 * nis/nis_server.c (nis_servstate): Use the right name for 0.
7176 (nis_stats): Likewise.
7177 * nis/nis_modify.c (nis_modify): Likewise.
7178 * nis/nis_remove.c (nis_remove): Likewise.
7179 * nis/nis_add.c (nis_add): Likewise.
7181 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
7183 * posix/fnmatch_loop.c: Add some consts.
7185 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
7187 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
7190 * config.make.in (config-cflags-novzeroupper): Define.
7191 * configure.in: Substitute libc_cv_cc_novzeroupper.
7192 * elf/Makefile (AVX-CFLAGS): Define.
7193 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
7194 (CFLAGS-tst-auditmod4a.c): Likewise.
7195 (CFLAGS-tst-auditmod4b.c): Likewise.
7196 (CFLAGS-tst-auditmod6b.c): Likewise.
7197 (CFLAGS-tst-auditmod6c.c): Likewise.
7198 (CFLAGS-tst-auditmod7b.c): Likewise.
7199 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
7201 2011-02-02 Ulrich Drepper <drepper@gmail.com>
7203 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
7204 function to the callback.
7205 Patch partly by Jiri Olsa <jolsa@redhat.com>.
7207 2011-02-02 Andreas Schwab <schwab@redhat.com>
7209 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
7212 2011-01-19 Ulrich Drepper <drepper@gmail.com>
7215 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
7217 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
7219 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
7222 * elf/Makefile: Add rules to build and run new test.
7223 * elf/tst-initorder.c: New file.
7224 * elf/tst-initorder.exp: New file.
7225 * elf/tst-initordera1.c: New file.
7226 * elf/tst-initordera2.c: New file.
7227 * elf/tst-initordera3.c: New file.
7228 * elf/tst-initordera4.c: New file.
7229 * elf/tst-initorderb1.c: New file.
7230 * elf/tst-initorderb2.c: New file.
7231 * elf/tst-order-a1.c: New file.
7232 * elf/tst-order-a2.c: New file.
7233 * elf/tst-order-a3.c: New file.
7234 * elf/tst-order-a4.c: New file.
7235 * elf/tst-order-b1.c: New file.
7236 * elf/tst-order-b2.c: New file.
7237 * elf/tst-order-main.c: New file.
7238 New test case by George Gensure <werkt0@gmail.com>.
7240 2010-10-01 Andreas Schwab <schwab@redhat.com>
7242 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
7243 decoding ACE if AI_CANONIDN.
7245 2011-01-18 Ulrich Drepper <drepper@gmail.com>
7247 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
7249 2011-01-17 Ulrich Drepper <drepper@gmail.com>
7251 * version.h (RELEASE): Bump for 2.13 release.
7252 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
7254 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
7256 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
7258 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
7259 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
7260 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
7261 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
7262 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
7263 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
7265 * posix/getconf.c: Update copyright year.
7266 * catgets/gencat.c: Likewise.
7267 * csu/version.c: Likewise.
7268 * debug/catchsegv.sh: Likewise.
7269 * debug/xtrace.sh: Likewise.
7270 * elf/ldconfig.c: Likewise.
7271 * elf/ldd.bash.in: Likewise.
7272 * elf/sprof.c (print_version): Likewise.
7273 * iconv/iconv_prog.c: Likewise.
7274 * iconv/iconvconfig.c: Likewise.
7275 * locale/programs/locale.c: Likewise.
7276 * locale/programs/localedef.c: Likewise.
7277 * malloc/memusage.sh: Likewise.
7278 * malloc/mtrace.pl: Likewise.
7279 * nscd/nscd.c (print_version): Likewise.
7280 * nss/getent.c: Likewise.
7282 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
7283 PF_CAIF, and PF_ALG.
7284 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
7286 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
7288 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
7289 (modules-names): Use them.
7290 (ifunc-test-modules, ifunc-pie-tests): Define.
7291 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
7292 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
7293 (test-extras): Likewise.
7294 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
7295 $(compile-command.c).
7296 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
7297 (all-built-dso): Define.
7298 (check-textrel.out, check-execstack.out): Depend on it.
7300 * configure.in: Don't override --enable-multi-arch.
7302 2011-01-15 Ulrich Drepper <drepper@gmail.com>
7305 * nscd/hstcache.c (tryagain): Define.
7306 (cache_addhst): Return tryagain not notfound for temporary errors.
7307 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
7310 2011-01-14 Ulrich Drepper <drepper@gmail.com>
7313 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
7314 to make the syscall.
7315 * sysdeps/unix/sysv/linux/setgroups.c: New file.
7318 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
7319 and fall back to matching as normal character if the string ends before
7320 the matching ']' is found. This is what POSIX requires.
7321 * posix/testfnm.c: Adjust test result.
7322 * posix/globtest.sh: Adjust test result. Add new test.
7323 * posix/tst-fnmatch.input: Likewise.
7324 * posix/tst-fnmatch2.c: Add new test.
7326 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
7328 * elf/Makefile (check-execstack): Revert last change. Depend on
7330 (check-execstack.h): New target.
7331 (generated): Add check-execstack.h.
7332 * elf/check-execstack.c: Include "check-execstack.h".
7333 (main): Revert last change.
7334 (handle_file): Return zero if GNU_STACK is absent and
7335 DEFAULT_STACK_PERMS doesn't include PF_X.
7337 2011-01-13 Ulrich Drepper <drepper@gmail.com>
7339 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
7340 in child fails because the descriptor is already closed.
7341 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
7342 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
7343 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
7346 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
7350 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
7351 temporary buffer used to handle multi lookups locally.
7352 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
7354 2011-01-12 Ulrich Drepper <drepper@gmail.com>
7356 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
7359 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
7361 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
7364 2011-01-12 Ulrich Drepper <drepper@gmail.com>
7367 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
7368 characters. When rounding increased number of integer digits recompute
7370 * stdio-common/tst-grouping.c: New file.
7371 * stdio-common/Makefile: Add rules to build and run tst-grouping.
7373 2011-01-09 Ulrich Drepper <drepper@gmail.com>
7375 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
7376 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
7378 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
7380 * bits/select.h: Likewise.
7382 2011-01-08 Ulrich Drepper <drepper@gmail.com>
7384 * po/ja.po: Update from translation team.
7386 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
7389 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
7390 implementation just like for lxstat, fxstatat, et al.
7392 2010-12-27 Jim Meyering <meyering@redhat.com>
7395 * posix/regexec.c (build_trtable): Return failure indication upon
7396 calloc failure. Otherwise, re_search_internal could infloop on OOM.
7398 2010-12-25 Ulrich Drepper <drepper@gmail.com>
7401 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
7402 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
7403 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
7404 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
7407 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
7410 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
7411 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
7413 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
7415 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
7416 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
7417 script has SORT_BY_INIT_PRIORITY.
7418 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
7419 NO_CTORS_DTORS_SECTIONS is defined.
7420 * elf/soinit.c: Likewise.
7421 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
7422 NO_CTORS_DTORS_SECTIONS is defined.
7423 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
7424 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
7425 * sysdeps/sh/init-first.c: Likewise.
7426 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
7428 2010-12-24 Ulrich Drepper <drepper@gmail.com>
7430 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
7431 always use the slow path.
7433 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
7435 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
7436 similar rule which adds the sysdep directories to the header search in
7437 order to pick up the correct platform stackinfo.h.
7438 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
7439 perform test if it is, otherwise return successfully without testing.
7440 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
7441 DEFAULT_STACK_PERMS define in stackinfo.h.
7442 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
7443 defined in stackinfo.h.
7444 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
7445 DEFAULT_STACK_PERMS defined in stackinfo.h.
7446 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
7447 * sysdeps/ia64/stackinfo.h: Likewise.
7448 * sysdeps/s390/stackinfo.h: Likewise.
7449 * sysdeps/sh/stackinfo.h: Likewise.
7450 * sysdeps/sparc/stackinfo.h: Likewise.
7451 * sysdeps/x86_64/stackinfo.h: Likewise.
7452 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
7453 PF_X for powerpc64. Retain PF_X for powerpc32.
7455 2010-12-19 Ulrich Drepper <drepper@gmail.com>
7457 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
7459 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
7460 GETDENTS_64BIT_ALIGNED.
7462 2010-12-14 Ulrich Drepper <dreper@gmail.com>
7464 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
7466 2010-12-10 Andreas Schwab <schwab@redhat.com>
7468 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
7471 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
7472 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
7474 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
7475 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
7477 2010-12-09 Ulrich Drepper <drepper@gmail.com>
7480 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
7483 2010-12-09 Jakub Jelinek <jakub@redhat.com>
7485 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
7487 2010-12-03 Ulrich Drepper <drepper@gmail.com>
7489 * po/it.po: Update from translation team.
7491 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
7493 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
7496 2010-11-30 Ulrich Drepper <drepper@gmail.com>
7498 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
7500 2010-11-24 Andreas Schwab <schwab@redhat.com>
7502 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
7504 (gaih_getanswer_slice): Likewise.
7506 2010-10-20 Jakub Jelinek <jakub@redhat.com>
7508 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
7510 2010-05-31 Petr Baudis <pasky@suse.cz>
7513 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
7514 silently even in the chroot mode.
7516 2010-11-22 Ulrich Drepper <drepper@gmail.com>
7518 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
7519 last patch a bit. Pretty printing
7521 2010-05-31 Petr Baudis <pasky@suse.cz>
7524 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
7525 initialization of skip_initgroups_dyn.
7527 2010-11-19 Ulrich Drepper <drepper@gmail.com>
7529 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
7530 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
7532 2010-11-16 Ulrich Drepper <drepper@gmail.com>
7534 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
7536 2010-11-11 Andreas Schwab <schwab@redhat.com>
7538 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
7539 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
7540 (tst-fnmatch-ENV): Set MALLOC_TRACE.
7541 ($(objpfx)tst-fnmatch-mem): New rule.
7542 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
7543 * posix/tst-fnmatch.c (main): Call mtrace.
7545 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
7547 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7548 Support Intel processor model 6 and model 0x2c.
7550 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
7552 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
7555 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
7558 * string/test-strncasecmp.c (check_result): New function.
7559 (do_one_test): Use it.
7560 (check1): New function.
7561 (test_main): Use it.
7562 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
7563 Support strcasecmp and strncasecmp.
7565 2010-11-08 Ulrich Drepper <drepper@gmail.com>
7568 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
7569 * sysdeps/x86_64/bits/byteswap.h: Likewise.
7571 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
7573 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
7575 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7577 * sysdeps/x86_64/multiarch/bzero.S: New file.
7578 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
7579 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
7580 * sysdeps/x86_64/multiarch/memset.S: New file.
7581 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
7582 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7583 Set bit_Prefer_SSE_for_memop for Intel processors.
7584 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
7586 (index_Prefer_SSE_for_memop): Define.
7587 (HAS_PREFER_SSE_FOR_MEMOP): Define.
7589 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
7591 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
7592 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
7594 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
7597 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
7598 (__x86_64_raw_data_cache_size_half): Likewise.
7599 (__x86_64_raw_shared_cache_size): Likewise.
7600 (__x86_64_raw_shared_cache_size_half): Likewise.
7602 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
7603 (__x86_64_raw_data_cache_size_half): Likewise.
7604 (__x86_64_raw_shared_cache_size): Likewise.
7605 (__x86_64_raw_shared_cache_size_half): Likewise.
7606 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
7607 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
7608 and __x86_64_raw_shared_cache_size_half. Round
7609 __x86_64_data_cache_size_half, __x86_64_data_cache_size
7610 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
7611 to multiple of 256 bytes.
7613 2010-11-03 Ulrich Drepper <drepper@gmail.com>
7616 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
7617 of inacessible symlinks. Verify result of symlink before returning it.
7618 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
7619 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
7621 2010-10-28 Erich Ritz <erichritz@gmail.com>
7623 * math/math.h (isinf): Fix typo in comment.
7625 2010-11-01 Ulrich Drepper <drepper@gmail.com>
7627 * po/da.po: Update from translation team.
7629 2010-10-26 Ulrich Drepper <drepper@gmail.com>
7631 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
7632 is added to the list.
7634 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7635 Ulrich Drepper <drepper@gmail.com>
7637 * elf/dl-object.c (_dl_new_object): Don't append the new object to
7638 the global list here. Move code to...
7639 (_dl_add_to_namespace_list): ...here. New function.
7640 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
7641 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
7642 * elf/dl-load.c (lose): Don't remove the element from the list.
7643 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
7644 (_dl_map_object): Likewise.
7646 2010-10-25 Ulrich Drepper <drepper@gmail.com>
7649 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
7650 into all bytes of SSE register.
7651 Patch by Richard Li <richardpku@gmail.com>.
7653 2010-10-24 Ulrich Drepper <drepper@gmail.com>
7656 * malloc/malloc.c (_int_free): Fill correct number of bytes when
7659 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
7661 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
7662 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
7663 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
7664 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
7665 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
7667 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
7669 2010-10-22 Andreas Schwab <schwab@redhat.com>
7671 * include/dlfcn.h (__RTLD_SECURE): Define.
7672 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
7673 mode & __RTLD_SECURE instead.
7674 (open_path): Rename preloaded parameter to secure.
7675 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
7676 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
7677 * elf/dl-deps.c (openaux): Likewise.
7678 * elf/rtld.c (struct map_args): Remove is_preloaded.
7679 (map_doit): Don't use it.
7680 (dl_main): Likewise.
7681 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
7682 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
7684 2010-09-09 Andreas Schwab <schwab@redhat.com>
7686 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
7687 (sysd-rules-targets): Remove duplicates.
7688 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
7689 rtld-%.$o dependency.
7691 2010-10-18 Andreas Schwab <schwab@redhat.com>
7693 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
7694 _dl_map_object do it.
7696 2010-10-19 Ulrich Drepper <drepper@gmail.com>
7698 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
7699 fast fma builtins, define the macros in the C99 standard.
7700 (FP_FAST_FMAF): Likewise.
7701 (FP_FAST_FMAL): Likewise.
7702 * sysdeps/x86_64/bits/mathdef.h: Likewise.
7704 * bits/mathdef.h: Update copyright year.
7705 * sysdeps/powerpc/bits/mathdef.h: Likewise.
7707 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
7709 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
7710 builtins, define the macros in the C99 standard.
7711 (FP_FAST_FMAF): Likewise.
7712 (FP_FAST_FMAL): Likewise.
7713 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
7715 (FP_FAST_FMAF): Likewise.
7717 2010-10-15 Jakub Jelinek <jakub@redhat.com>
7720 * math/libm-test.inc (fma_test): Some new testcases.
7721 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
7722 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
7723 y and infinite z. Do multiplication by C already in long double.
7724 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
7725 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
7726 y and infinite z. Do bitwise or of inexact bit into u.d.
7727 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
7728 * sysdeps/i386/fpu/s_fmaf.S: Removed.
7729 * sysdeps/i386/fpu/s_fma.S: Removed.
7730 * sysdeps/i386/fpu/s_fmal.S: Removed.
7732 2010-10-16 Jakub Jelinek <jakub@redhat.com>
7735 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
7736 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
7737 computation is not scheduled after fetestexcept. Fix value
7738 of minimum denormal long double.
7740 2010-10-14 Jakub Jelinek <jakub@redhat.com>
7743 * math/libm-test.inc (fma_test): Add some more tests.
7744 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
7747 2010-10-15 Andreas Schwab <schwab@redhat.com>
7749 * scripts/data/localplt-s390-linux-gnu.data: New file.
7750 * scripts/data/localplt-s390x-linux-gnu.data: New file.
7752 2010-10-13 Jakub Jelinek <jakub@redhat.com>
7755 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
7756 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
7758 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
7760 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
7761 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
7762 if one of x and y is very large and the other is subnormal.
7763 * sysdeps/s390/fpu/s_fmaf.c: New file.
7764 * sysdeps/s390/fpu/s_fma.c: New file.
7765 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
7766 * sysdeps/powerpc/fpu/s_fma.S: New file.
7767 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
7768 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
7769 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
7771 2010-10-12 Jakub Jelinek <jakub@redhat.com>
7774 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
7776 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
7777 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
7778 * sysdeps/i386/i686/multiarch/s_fma.c: Include
7779 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
7780 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
7781 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
7782 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
7784 2010-10-12 Ulrich Drepper <drepper@redhat.com>
7787 * posix/regcomp.c (parse_branch): One more memory leak plugged.
7788 * posix/bug-regex31.input: Add test case.
7790 2010-10-11 Ulrich Drepper <drepper@gmail.com>
7792 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
7793 * posix/bug-regex31.input: New file.
7796 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
7797 (parse_sub_exp): Fix last change, use postorder.
7799 * posix/bug-regex31.c: New file.
7800 * posix/Makefile: Add rules to build and run bug-regex31.
7802 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
7805 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
7808 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
7809 to have entries in sys_siglist.
7812 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
7815 2010-10-07 Jakub Jelinek <jakub@redhat.com>
7818 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
7819 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
7820 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
7821 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
7822 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
7823 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
7824 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
7825 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
7826 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
7827 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
7828 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
7829 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
7830 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
7831 * math/ftestexcept.c (fetestexcept): Likewise.
7832 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
7833 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
7834 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
7835 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
7836 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
7837 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
7838 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
7840 2010-10-11 Ulrich Drepper <drepper@gmail.com>
7843 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
7846 2010-10-06 Ulrich Drepper <drepper@gmail.com>
7848 * string/bug-strstr1.c: New file.
7849 * string/Makefile: Add rules to build and run bug-strstr1.
7851 2010-10-05 Eric Blake <eblake@redhat.com>
7854 * string/str-two-way.h (two_way_long_needle): Always clear memory
7855 when skipping input due to the shift table.
7857 2010-10-03 Ulrich Drepper <drepper@gmail.com>
7860 * malloc/mcheck.c: Handle large requests.
7863 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
7864 for strncmp and strncasecmp.
7865 * string/stratcliff.c: Add tests for strcmp and strncmp.
7866 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
7868 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
7870 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
7873 2010-09-30 Andreas Jaeger <aj@suse.de>
7875 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
7876 (CGROUP_SUPER_MAGIC): Define.
7877 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
7878 Handle btrfs and cgroup file systems.
7879 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
7882 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
7884 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
7885 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
7887 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7890 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
7891 trying to locate the ELF header.
7893 2010-09-27 Andreas Schwab <schwab@redhat.com>
7896 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
7897 Mask out sign-bit copies when constructing f_fsid.
7899 2010-09-24 Petr Baudis <pasky@suse.cz>
7901 * debug/stack_chk_fail_local.c: Add missing licence exception.
7902 * debug/warning-nop.c: Likewise.
7904 2010-09-15 Joseph Myers <joseph@codesourcery.com>
7906 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
7907 implementing getdents64 using getdents syscall, set d_type if
7908 __ASSUME_GETDENTS32_D_TYPE.
7910 2010-09-16 Andreas Schwab <schwab@redhat.com>
7912 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
7913 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
7915 2010-09-21 Ulrich Drepper <drepper@redhat.com>
7918 * posix/unistd.h: Undo change of feature selection for ftruncate from
7921 2010-09-20 Ulrich Drepper <drepper@redhat.com>
7923 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
7926 2010-09-20 Andreas Schwab <schwab@redhat.com>
7928 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
7930 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
7932 2010-09-14 Andreas Schwab <schwab@redhat.com>
7934 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
7935 variables after CHECK_SP call.
7936 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
7938 2010-09-13 Andreas Schwab <schwab@redhat.com>
7939 Ulrich Drepper <drepper@redhat.com>
7941 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
7942 re-relocationg ld.so.
7943 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
7944 _dl_init_paths call.
7945 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
7948 2010-09-14 Ulrich Drepper <drepper@redhat.com>
7950 * resolv/res_init.c (__res_vinit): Count the default server we added.
7952 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
7953 Ulrich Drepper <drepper@redhat.com>
7956 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
7957 (____longjmp_chk): Use %ebx for saving value across system call.
7960 2010-09-06 Andreas Schwab <schwab@redhat.com>
7962 * manual/Makefile: Don't mix pattern rules with normal rules.
7964 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
7966 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
7968 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
7969 * libio/iofopncook.c (_IO_cookie_init): Likewise.
7970 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
7971 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
7972 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
7975 2010-09-04 Ulrich Drepper <drepper@redhat.com>
7978 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
7979 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
7981 2010-09-02 Ulrich Drepper <drepper@redhat.com>
7983 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
7984 * sysdeps/x86_64/addmul_1.S: Likewise.
7985 * sysdeps/x86_64/lshift.S: Likewise.
7986 * sysdeps/x86_64/mul_1.S: Likewise.
7987 * sysdeps/x86_64/rshift.S: Likewise.
7988 * sysdeps/x86_64/sub_n.S: Likewise.
7989 * sysdeps/x86_64/submul_1.S: Likewise.
7991 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
7993 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
7994 Define __sched_param instead of SCHED_* and sched_param when
7995 <bits/sched.h> is included with __need_schedparam defined.
7996 * bits/sched.h [__need_schedparam]
7997 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
7998 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
7999 (__defined_schedparam): Define to 1.
8000 (__sched_param): New structure, identical to sched_param.
8001 (__need_schedparam): Undefine.
8003 2010-08-31 Mike Frysinger <vapier@gentoo.org>
8005 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
8006 (epoll_create1): Declare.
8008 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
8010 2010-08-31 Andreas Schwab <schwab@redhat.com>
8013 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
8014 shifting retval into place.
8016 2010-09-01 Ulrich Drepper <drepper@redhat.com>
8018 * nis/rpcsvc/nis.h: Update copyright notice.
8019 * nis/rpcsvc/nis.x: Likewise.
8020 * nis/rpcsvc/nis_callback.h: Likewise.
8021 * nis/rpcsvc/nis_callback.x: Likewise.
8022 * nis/rpcsvc/nis_object.x: Likewise.
8023 * nis/rpcsvc/nis_tags.h: Likewise.
8024 * nis/rpcsvc/yp.h: Likewise.
8025 * nis/rpcsvc/yp.x: Likewise.
8026 * nis/rpcsvc/ypupd.h: Likewise.
8027 * nis/yp_xdr.c: Likewise.
8028 * nis/ypupdate_xdr.c: Likewise.
8030 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
8031 mainly the body of pmap_getport. Add parameters to specify timeouts.
8032 (pmap_getport): Use __libc_rpc_getport.
8033 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
8034 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
8035 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
8037 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
8039 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
8042 2010-08-27 Roland McGrath <roland@redhat.com>
8044 * sysdeps/i386/i686/multiarch/Makefile
8045 (CFLAGS-varshift.c): New variable.
8047 2010-08-27 Ulrich Drepper <drepper@redhat.com>
8049 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
8050 * sysdeps/i386/i686/multiarch/varshift.c: New file.
8052 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
8054 * sysdeps/x86_64/strlen.S: Minimal code improvement.
8056 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
8058 * sysdeps/x86_64/strlen.S: Unroll the loop.
8059 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8060 strlen-sse2 strlen-sse2-bsf.
8061 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
8062 __strlen_no_bsf if bit_Slow_BSF is set.
8063 (__strlen_sse42): Removed.
8064 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
8065 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
8067 2010-08-25 Roland McGrath <roland@redhat.com>
8069 * sysdeps/x86_64/multiarch/varshift.S: File removed.
8070 * sysdeps/x86_64/multiarch/varshift.c: New file.
8071 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
8072 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
8073 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
8074 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
8076 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
8078 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
8079 strlen-sse2 strlen-sse2-bsf.
8080 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
8081 __strlen_sse2_bsf if bit_Slow_BSF is unset.
8082 (__strlen_sse2): Removed.
8083 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
8084 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
8085 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
8086 bit_Slow_BSF for Atom.
8087 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
8088 (index_Slow_BSF): Define.
8089 (HAS_SLOW_BSF): Define.
8091 2010-08-25 Ulrich Drepper <drepper@redhat.com>
8094 * resolv/res_init.c (__res_vinit): When no server address at all
8095 is given default to loopback.
8097 2010-08-24 Roland McGrath <roland@redhat.com>
8099 * configure.in: Remove config-name.h generation.
8100 * configure: Regenerated.
8101 * config-name.in: File removed.
8102 * scripts/config-uname.sh: New file.
8103 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
8104 ($(objdir)config-name.h): New target.
8106 * sunrpc/rpc_parse.h: Avoid nested comment.
8108 2010-08-24 Richard Henderson <rth@redhat.com>
8109 Ulrich Drepper <drepper@redhat.com>
8110 H.J. Lu <hongjiu.lu@intel.com>
8112 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
8113 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
8114 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
8115 Replace _mm_srli_si128 with __m128i_shift_right. Replace
8116 _mm_alignr_epi8 with _mm_loadu_si128.
8117 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
8118 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
8119 (__m128i_shift_right): Removed.
8120 * sysdeps/i386/i686/multiarch/varshift.h: New file.
8121 * sysdeps/i386/i686/multiarch/varshift.S: New file.
8122 * sysdeps/x86_64/multiarch/varshift.h: New file.
8123 * sysdeps/x86_64/multiarch/varshift.S: New file.
8125 2010-08-21 Mike Frysinger <vapier@gentoo.org>
8127 * configure.in: Move assembler checks to before sysdep dir checking.
8129 2010-08-20 Petr Baudis <pasky@suse.cz>
8131 * LICENSES: Sync the sunrpc license.
8133 2010-08-19 Ulrich Drepper <drepper@redhat.com>
8135 * sunrpc/auth_des.c: Update copyright notice once again.
8136 * sunrpc/auth_none.c: Likewise.
8137 * sunrpc/auth_unix.c: Likewise.
8138 * sunrpc/authdes_prot.c: Likewise.
8139 * sunrpc/authuxprot.c: Likewise.
8140 * sunrpc/bindrsvprt.c: Likewise.
8141 * sunrpc/clnt_gen.c: Likewise.
8142 * sunrpc/clnt_perr.c: Likewise.
8143 * sunrpc/clnt_raw.c: Likewise.
8144 * sunrpc/clnt_simp.c: Likewise.
8145 * sunrpc/clnt_tcp.c: Likewise.
8146 * sunrpc/clnt_udp.c: Likewise.
8147 * sunrpc/clnt_unix.c: Likewise.
8148 * sunrpc/des_crypt.c: Likewise.
8149 * sunrpc/des_soft.c: Likewise.
8150 * sunrpc/get_myaddr.c: Likewise.
8151 * sunrpc/getrpcport.c: Likewise.
8152 * sunrpc/key_call.c: Likewise.
8153 * sunrpc/key_prot.c: Likewise.
8154 * sunrpc/openchild.c: Likewise.
8155 * sunrpc/pm_getmaps.c: Likewise.
8156 * sunrpc/pm_getport.c: Likewise.
8157 * sunrpc/pmap_clnt.c: Likewise.
8158 * sunrpc/pmap_prot.c: Likewise.
8159 * sunrpc/pmap_prot2.c: Likewise.
8160 * sunrpc/pmap_rmt.c: Likewise.
8161 * sunrpc/rpc/auth.h: Likewise.
8162 * sunrpc/rpc/auth_unix.h: Likewise.
8163 * sunrpc/rpc/clnt.h: Likewise.
8164 * sunrpc/rpc/des_crypt.h: Likewise.
8165 * sunrpc/rpc/key_prot.h: Likewise.
8166 * sunrpc/rpc/netdb.h: Likewise.
8167 * sunrpc/rpc/pmap_clnt.h: Likewise.
8168 * sunrpc/rpc/pmap_prot.h: Likewise.
8169 * sunrpc/rpc/pmap_rmt.h: Likewise.
8170 * sunrpc/rpc/rpc.h: Likewise.
8171 * sunrpc/rpc/rpc_des.h: Likewise.
8172 * sunrpc/rpc/rpc_msg.h: Likewise.
8173 * sunrpc/rpc/svc.h: Likewise.
8174 * sunrpc/rpc/svc_auth.h: Likewise.
8175 * sunrpc/rpc/types.h: Likewise.
8176 * sunrpc/rpc/xdr.h: Likewise.
8177 * sunrpc/rpc_clntout.c: Likewise.
8178 * sunrpc/rpc_cmsg.c: Likewise.
8179 * sunrpc/rpc_common.c: Likewise.
8180 * sunrpc/rpc_cout.c: Likewise.
8181 * sunrpc/rpc_dtable.c: Likewise.
8182 * sunrpc/rpc_hout.c: Likewise.
8183 * sunrpc/rpc_main.c: Likewise.
8184 * sunrpc/rpc_parse.c: Likewise.
8185 * sunrpc/rpc_parse.h: Likewise.
8186 * sunrpc/rpc_prot.c: Likewise.
8187 * sunrpc/rpc_sample.c: Likewise.
8188 * sunrpc/rpc_scan.c: Likewise.
8189 * sunrpc/rpc_scan.h: Likewise.
8190 * sunrpc/rpc_svcout.c: Likewise.
8191 * sunrpc/rpc_tblout.c: Likewise.
8192 * sunrpc/rpc_util.c: Likewise.
8193 * sunrpc/rpc_util.h: Likewise.
8194 * sunrpc/rpcinfo.c: Likewise.
8195 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
8196 * sunrpc/rpcsvc/key_prot.x: Likewise.
8197 * sunrpc/rpcsvc/klm_prot.x: Likewise.
8198 * sunrpc/rpcsvc/mount.x: Likewise.
8199 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
8200 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
8201 * sunrpc/rpcsvc/rex.x: Likewise.
8202 * sunrpc/rpcsvc/rstat.x: Likewise.
8203 * sunrpc/rpcsvc/rusers.x: Likewise.
8204 * sunrpc/rpcsvc/sm_inter.x: Likewise.
8205 * sunrpc/rpcsvc/spray.x: Likewise.
8206 * sunrpc/rpcsvc/yppasswd.x: Likewise.
8207 * sunrpc/rtime.c: Likewise.
8208 * sunrpc/svc.c: Likewise.
8209 * sunrpc/svc_auth.c: Likewise.
8210 * sunrpc/svc_authux.c: Likewise.
8211 * sunrpc/svc_raw.c: Likewise.
8212 * sunrpc/svc_run.c: Likewise.
8213 * sunrpc/svc_simple.c: Likewise.
8214 * sunrpc/svc_tcp.c: Likewise.
8215 * sunrpc/svc_udp.c: Likewise.
8216 * sunrpc/svc_unix.c: Likewise.
8217 * sunrpc/svcauth_des.c: Likewise.
8218 * sunrpc/xcrypt.c: Likewise.
8219 * sunrpc/xdr.c: Likewise.
8220 * sunrpc/xdr_array.c: Likewise.
8221 * sunrpc/xdr_float.c: Likewise.
8222 * sunrpc/xdr_mem.c: Likewise.
8223 * sunrpc/xdr_rec.c: Likewise.
8224 * sunrpc/xdr_ref.c: Likewise.
8225 * sunrpc/xdr_sizeof.c: Likewise.
8226 * sunrpc/xdr_stdio.c: Likewise.
8228 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
8231 2010-08-19 Andreas Schwab <schwab@redhat.com>
8233 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
8235 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
8237 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
8238 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
8239 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
8240 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
8241 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
8242 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
8243 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
8244 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
8245 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
8246 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
8247 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
8248 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
8249 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
8250 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
8252 2010-07-26 Anton Blanchard <anton@samba.org>
8254 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
8255 * malloc/arena.c (heap_trim): Likewise.
8257 2010-08-16 Ulrich Drepper <drepper@redhat.com>
8259 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
8261 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
8262 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
8264 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
8266 * sysdeps/i386/elf/Makefile: New file.
8268 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
8270 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
8272 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
8273 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
8275 2010-08-15 Ulrich Drepper <drepper@redhat.com>
8277 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
8279 * sysdeps/multiarch/strcmp.S: Likewise.
8281 2010-08-14 Ulrich Drepper <drepper@redhat.com>
8283 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
8284 strncase_l-nonascii.
8285 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
8286 Add strncase_l-ssse3.
8287 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
8288 * sysdeps/x86_64/strcmp.S: Likewise.
8289 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
8290 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
8291 * sysdeps/x86_64/strncase.S: New file.
8292 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
8293 * sysdeps/x86_64/strncase_l.S: New file.
8294 * string/Makefile (strop-tests): Add strncasecmp.
8295 * string/test-strncasecmp.c: New file.
8297 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
8300 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
8301 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
8303 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
8305 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
8307 2010-08-12 Ulrich Drepper <drepper@redhat.com>
8309 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
8310 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
8311 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
8313 2010-05-01 Alan Modra <amodra@gmail.com>
8315 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
8316 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
8317 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
8318 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
8319 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
8320 tidying. Don't tail-call __sigjmp_save for static lib.
8321 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
8323 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
8324 (CALL_MCOUNT): Add eh info, and nop after bl.
8325 (TAIL_CALL_SYSCALL_ERROR): New macro.
8326 (PSEUDO_RET): Use it.
8327 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
8328 Correct save location of integer regs and cr.
8329 (_dl_profile_resolve): Correct cr save location. Delete nops
8330 after bl when SHARED. Reduce cfi size a little by better
8331 placement of cfi directives.
8332 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
8333 make a stack frame. Instead use parm save area as a temp.
8334 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
8335 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
8336 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
8337 Don't make a stack frame for parent, use parm save area.
8338 Increase child stack frame to 112 bytes. Don't save unused reg,
8339 and adjust reg usage. Set up cfi on error recovery and
8340 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
8341 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
8342 (__makecontext): Add dummy nop after jump to exit.
8343 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
8344 Use correct parm save area and cr save, reduce stack frame.
8345 Correct cfi for possible PSEUDO_RET frame setup.
8346 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
8347 Branch to local label emitted by PSEUDO_RET rather than
8350 2010-08-12 Andreas Schwab <schwab@redhat.com>
8353 * locale/programs/locale.c (print_assignment): New function.
8354 (show_locale_vars): Use it.
8356 2010-08-11 Ulrich Drepper <drepper@redhat.com>
8358 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
8360 (struct statfs64): Likewise.
8361 (_STATFS_F_FLAGS): Define.
8362 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
8363 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
8364 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
8365 (ST_VALID): Define locally.
8366 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
8367 __statvfs_getflags, use the provided value.
8368 * sysdeps/unix/sysv/linux/kernel-features.h: Define
8369 __ASSUME_STATFS_F_FLAGS.
8371 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
8373 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
8375 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
8376 fanotify_mask for GLIBC_2.13.
8377 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
8378 fanotify_init and fanotify_mark.
8379 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
8380 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
8382 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
8384 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
8385 prlimit64 for GLIBC_2.13.
8386 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
8388 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
8390 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
8391 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
8392 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
8393 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
8394 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
8396 * sysdeps/unix/sysv/linux/prlimit.c: New file.
8399 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
8400 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
8402 * nss/Makefile: Add rules to build and run tst-nss-test1.
8403 * shlib-versions: Add entry for libnss_test1.
8404 * nss/nss_test1.c: New file.
8405 * nss/tst-nss-test1.c: New file.
8407 * nss/nsswitch.c (__nss_database_custom): Define new variable.
8408 (__nss_configure_lookup): Set appropriate entry in
8409 __nss_configure_lookup to true.
8410 * nss/nsswitch.h: Define enum with indeces of databases in
8411 databases and __nss_database_custom arrays. Declare
8412 __nss_database_custom.
8413 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
8414 to avoid using nscd when custom rules are installed.
8415 * nss/getXXbyYY_r.c: Likewise.
8416 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
8418 * nss/nss_files/files-parse.c: Whitespace fixes.
8420 2010-08-09 Ulrich Drepper <drepper@redhat.com>
8423 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
8424 * posix/fnmatch_loop.c: Likewise.
8426 2010-07-17 Andi Kleen <ak@linux.intel.com>
8428 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
8429 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
8430 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
8431 * Versions.def [GLIBC_2.13]: Add.
8433 2010-08-06 Ulrich Drepper <drepper@redhat.com>
8435 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
8436 Also fail if tpwd after pwuid call is NULL.
8438 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
8440 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
8441 when converting to ms.
8443 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
8445 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
8446 EOPNOTSUPP errors with ENOTTY.
8447 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
8448 EOPNOTSUPP errors with ENOTTY.
8450 2010-07-31 Ulrich Drepper <drepper@redhat.com>
8452 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
8453 Add strcasecmp_l-ssse3.
8454 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
8456 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
8457 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
8458 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
8460 2010-07-30 Ulrich Drepper <drepper@redhat.com>
8462 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
8464 * string/Makefile (strop-tests): Add strcasecmp.
8465 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
8466 strcasecmp_l-nonascii.
8467 (gen-as-const-headers): Add locale-defines.sym.
8468 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
8469 * sysdeps/x86_64/strcasecmp.S: New file.
8470 * sysdeps/x86_64/strcasecmp_l.S: New file.
8471 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
8472 * sysdeps/x86_64/locale-defines.sym: New file.
8473 * string/test-strcasecmp.c: New file.
8475 * string/test-strcasestr.c: Test both ends of the range of characters.
8476 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
8478 2010-07-29 Roland McGrath <roland@redhat.com>
8481 * manual/locale.texi (Yes-or-No Questions): Fix example code.
8483 2010-07-27 Ulrich Drepper <drepper@redhat.com>
8485 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
8488 2010-07-27 Andreas Schwab <schwab@redhat.com>
8490 * manual/memory.texi (Malloc Tunable Parameters): Document
8493 2010-07-26 Roland McGrath <roland@redhat.com>
8496 * configure.in (-fgnu89-inline check): Set and substitute
8497 gnu89_inline, not libc_cv_gnu89_inline.
8498 * configure: Regenerated.
8499 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
8501 2010-07-26 Ulrich Drepper <drepper@redhat.com>
8503 * string/test-strnlen.c: New file.
8504 * string/Makefile (strop-tests): Add strnlen.
8505 * string/tester.c (test_strnlen): Add a few more test cases.
8506 * string/tst-strlen.c: Better error reporting.
8508 * sysdeps/x86_64/strnlen.S: New file.
8510 2010-07-24 Ulrich Drepper <drepper@redhat.com>
8512 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
8513 lower-latency instructions.
8515 2010-07-23 Ulrich Drepper <drepper@redhat.com>
8517 * string/test-strcasestr.c: New file.
8518 * string/test-strstr.c: New file.
8519 * string/Makefile (strop-tests): Add strstr and strcasestr.
8520 * string/str-two-way.h: Don't undefine MAX.
8521 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
8523 2010-07-21 Andreas Schwab <schwab@redhat.com>
8525 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
8526 strcasestr-nonascii.
8527 (CFLAGS-strcasestr-nonascii.c): Define.
8528 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
8529 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
8530 Remove unused attribute.
8532 2010-07-20 Roland McGrath <roland@redhat.com>
8534 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
8535 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
8536 ld.so.cache was broken. With it, there is no way to disable dsocaps
8537 like LD_HWCAP_MASK can disable hwcaps.
8539 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
8541 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
8543 2010-07-16 Ulrich Drepper <drepper@redhat.com>
8545 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
8547 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
8548 __strcasestr_sse42_nonascii.
8549 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
8550 strcasestr-nonascii.c.
8551 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
8553 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
8555 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
8556 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
8557 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
8558 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
8560 2010-07-09 Ulrich Drepper <drepper@redhat.com>
8562 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
8565 2010-07-06 Andreas Schwab <schwab@redhat.com>
8568 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
8571 2010-07-06 Ulrich Drepper <drepper@redhat.com>
8573 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
8574 _PC_PIPE_BUF using F_GETPIPE_SZ.
8576 2010-07-05 Roland McGrath <roland@redhat.com>
8578 * manual/arith.texi (Rounding Functions): Fix rint description
8579 implicit in round description.
8581 2010-07-02 Ulrich Drepper <drepper@redhat.com>
8583 * elf/Makefile: Fix linking for a few tests to make recent linker
8586 2010-06-30 Andreas Schwab <schwab@redhat.com>
8588 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
8589 $(common-objpfx)libc_nonshared.a.
8591 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
8593 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
8594 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
8595 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
8596 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
8597 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
8598 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
8599 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
8600 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
8601 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
8602 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
8603 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
8604 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
8605 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
8606 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
8607 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
8608 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
8609 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
8610 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
8611 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
8612 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
8613 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
8614 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
8615 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
8616 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
8617 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
8618 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
8619 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
8620 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
8621 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
8622 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
8623 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
8624 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
8625 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
8626 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
8627 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
8628 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
8629 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
8630 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
8631 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
8632 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
8633 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
8634 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
8635 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
8636 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
8637 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
8638 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
8639 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
8640 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
8642 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
8644 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
8645 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
8646 * string/memmove.c (memmove): Renamed to ...
8647 (MEMMOVE): ...this. Default to memmove.
8648 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
8649 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
8651 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8652 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
8653 mempcpy-ssse3-back memmove-ssse3-back.
8654 * sysdeps/x86_64/multiarch/bcopy.S: New file .
8655 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
8656 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
8657 * sysdeps/x86_64/multiarch/memcpy.S: New file.
8658 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
8659 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
8660 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
8661 * sysdeps/x86_64/multiarch/memmove.c: New file.
8662 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
8663 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
8664 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
8665 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
8666 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
8667 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
8669 (index_Fast_Copy_Backward): Define.
8670 (HAS_ARCH_FEATURE): Define.
8671 (HAS_FAST_REP_STRING): Define.
8672 (HAS_FAST_COPY_BACKWARD): Define.
8674 2010-06-21 Andreas Schwab <schwab@redhat.com>
8676 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
8677 Restore proper fallback handling.
8679 2010-06-19 Ulrich Drepper <drepper@redhat.com>
8682 * posix/group_member.c (__group_member): Correct checking loop.
8684 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
8685 OOM in getpwuid_r correctly. Return error number when the caller
8686 should return, otherwise -1.
8687 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
8688 call returning > 0 value.
8689 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
8691 2010-06-07 Andreas Schwab <schwab@redhat.com>
8693 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
8694 libc_nonshared.a from targets in modules-names.
8696 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
8698 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
8701 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
8703 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
8704 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
8705 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
8706 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
8708 2010-06-02 Andreas Schwab <schwab@redhat.com>
8710 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
8712 2010-06-14 Ulrich Drepper <drepper@redhat.com>
8714 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
8716 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
8717 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
8718 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
8719 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
8720 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
8721 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
8723 2010-06-14 Roland McGrath <roland@redhat.com>
8725 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
8727 2010-06-07 Jakub Jelinek <jakub@redhat.com>
8729 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
8730 __REDIRECT followed by __THROW.
8731 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
8732 * posix/getopt.h (getopt): Likewise.
8734 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
8736 * hurd/lookup-at.c (__file_name_lookup_at): Accept
8737 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
8738 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
8740 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
8741 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
8743 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
8745 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
8747 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
8750 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8751 Properly check family and model.
8753 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
8755 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
8757 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
8759 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
8761 2010-05-21 Ulrich Drepper <drepper@redhat.com>
8763 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
8766 2010-05-19 Andreas Schwab <schwab@redhat.com>
8768 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
8771 2010-05-21 Andreas Schwab <schwab@redhat.com>
8773 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
8774 and internal_recvmmsg.
8775 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
8776 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
8777 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
8778 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
8780 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
8781 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
8782 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
8784 2010-05-20 Andreas Schwab <schwab@redhat.com>
8786 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
8788 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
8790 POWER7 optimizations.
8791 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
8792 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
8794 2010-05-19 Ulrich Drepper <drepper@redhat.com>
8796 * version.h: Update for 2.13 development version.
8798 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
8800 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
8801 exceptions. Return 0.
8803 2010-05-07 Roland McGrath <roland@redhat.com>
8805 * elf/ldconfig.c (main): Add a const.
8807 2010-05-06 Ulrich Drepper <drepper@redhat.com>
8809 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
8810 (args_options): Add no-idn option.
8811 (ahosts_keys_int): Add idn_flags to ai_flags.
8812 (parse_option): Handle 'i' option to clear idn_flags.
8814 * malloc/malloc.c (_int_free): Possible race in the most recently
8815 added check. Only act on the data if no current modification
8818 See ChangeLog.17 for earlier changes.