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