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