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