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