Work around old buggy program which cannot cope with memcpy semantics.
[glibc.git] / ChangeLog
1 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
2
3         [BZ #12518]
4         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
5         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
6         * sysdeps/x86_64/memmove.c: New file.
7         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
8         (memcpy): Renamed to ...
9         (__new_memcpy): This.
10         (memcpy): Provide GLIBC_2_14 memcpy.
11         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
12         (memcpy): Provide GLIBC_2_2_5 memcpy.
13
14 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
15
16         [BZ #12631]
17         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
18
19 2011-03-30  Andreas Schwab  <schwab@redhat.com>
20
21         * misc/syncfs.c: New file.
22         * misc/Makefile (routines): Add syncfs.
23         * posix/unistd.h: Declare syncfs.
24         * sysdeps/unix/syscalls.list: Add syncfs.
25
26 2011-04-01  Andreas Schwab  <schwab@redhat.com>
27
28         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
29         open_by_handle_at.
30         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
31         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
32         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
33         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
34         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
35         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
36         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
37
38 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
39
40         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
41         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
42         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
43         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
44         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
45         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
46         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
47
48         * io/Makefile: Compile fallocate.c, fallocate64.c, and
49         sync_file_range.c with -fexceptions.
50         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
51         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
52         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
53         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
54         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
55         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
56         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
57         sync_file_range as cancellation point
58         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
59         now a wrapper around __call_sync_file_range with cancellation handling.
60         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
61         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
62         function name to __call_sync_file_range.
63         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
64         Add call_sync_file_range.
65
66 2011-04-01  Andreas Schwab  <schwab@redhat.com>
67
68         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
69         bits/timex.h.
70
71 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
72
73         * iconv/iconv.h: Fix typo in comment.
74         * io/fcntl.h: Likewise.
75         * libio/stdio.h: Likewise.
76         * posix/spawn.h: Likewise.
77         * posix/unistd.h: Likewise.
78         * stdlib/stdlib.h: Likewise.
79         * time/time.h: Likewise.
80         * wcsmbs/wchar.h: Likewise.
81
82         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
83         open_by_handle): Add.
84         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
85         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
86         Augment a few comments.
87         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
88         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
89         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
90         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
91         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
92         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
93         open_by_handle.
94
95         * io/fcntl.h (AT_EMPTY_PATH): Define.
96
97 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
98
99         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
100         * sysdeps/unix/sysv/linux/bits/time.h: New file.
101         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
102         to...
103         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
104         * Versions.def: Add GLIBC_2.14.
105         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
106         Export.
107
108 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
109
110         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
111         round counter.
112         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
113
114 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
115
116         [BZ #12597]
117         * string/test-strncmp.c (do_page_test): New function.
118         (check2): Likewise.
119         (test_main): Call check2.
120         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
121
122 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
123
124         [BZ #12587]
125         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
126         Handle cache information in CPU leaf 4.
127         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
128
129 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
130
131         [BZ #12583]
132         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
133         character representation.
134         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
135
136 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
137
138         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
139         END(__isnan) to END(__isnanf) to match function entry point/label
140         EALIGN(__isnanf,...).
141
142 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
143
144         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
145
146 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
147
148         [BZ #12510]
149         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
150         copy from the symbol referenced in the relocation to initialize the
151         used variable.
152         Patch by Piotr Bury <pbury@goahead.com>.
153         * elf/Makefile: Add rules to build and tst-unique3.
154         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
155         * elf/tst-unique3.cc: New file.
156         * elf/tst-unique3.h: New file.
157         * elf/tst-unique3lib.cc: New file.
158         * elf/tst-unique3lib2.cc: New file.
159
160         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
161
162 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
163
164         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
165         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
166         to _start.
167
168 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
169
170         * elf/dl-load.c (_dl_map_object): If we are looking for the first
171         to-be-loaded object along a path to loader is ld.so.
172
173 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
174             Ulrich Drepper  <drepper@gmail.com>
175
176         * sysdeps/x86_64/memset.S: After aligning destination, code
177         branches to different locations depending on the value of
178         misalignment, when multiarch is enabled. Fix this.
179
180 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
181
182         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
183         Set _x86_64_preferred_memory_instruction for AMD processsors.
184         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
185         Set bit_Prefer_SSE_for_memop for AMD processors.
186
187 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
188
189         * libio/fmemopen.c (fmemopen): Optimize a bit.
190
191 2011-03-03  Andreas Schwab  <schwab@redhat.com>
192
193         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
194
195 2011-03-03  Roland McGrath  <roland@redhat.com>
196
197         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
198
199 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
200
201         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
202         __bzero_ultra1 instead of __memset_ultra1.
203
204 2011-02-23  Andreas Schwab  <schwab@redhat.com>
205             Ulrich Drepper  <drepper@gmail.com>
206
207         [BZ #12509]
208         * include/link.h (struct link_map): Add l_orig_initfini.
209         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
210         returning unsuccessfully.
211         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
212         close of a file loaded at startup, restore the original l_initfini
213         list.
214         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
215         list, store the pointer.
216         * elf/Makefile ($(objpfx)noload-mem): New rule.
217         (noload-ENV): Define.
218         (tests): Add $(objpfx)noload-mem.
219         * elf/noload.c: Include <memcheck.h>.
220         (main): Call mtrace.  Close all opened handles.
221
222 2011-02-17  Andreas Schwab  <schwab@redhat.com>
223
224         [BZ #12454]
225         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
226         dependencies are missing.
227
228 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
229
230         Fix __if_freereq crash: Unlike the generic version which uses free,
231         Hurd needs munmap.
232         * sysdeps/mach/hurd/ifreq.h: New file.
233
234 2011-01-27  Petr Baudis  <pasky@suse.cz>
235             Ulrich Drepper  <drepper@gmail.com>
236
237         [BZ 12445]#
238         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
239         to extend_alloca().
240         * stdio-common/bug23.c: New file.
241         * stdio-common/Makefile (tests): Add bug23.
242
243 2010-09-28  Andreas Schwab  <schwab@redhat.com>
244             Ulrich Drepper  <drepper@gmail.com>
245
246         [BZ #12489]
247         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
248         before performing relro protection.  At old place add assertion
249         to make sure nothing changed.
250
251 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
252             Glauber de Oliveira Costa  <glommer@gmail.com>
253
254         * elf/elf.h: Add new ARM TLS relocs.
255
256 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
257
258         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
259         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
260         cast from r3.
261         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
262         'tests' variable.
263         * sysdeps/wordsize-64/tst-writev.c: New file.
264
265 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
266
267         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
268         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
269         insns in _dl_start to prevent a TOC reference before relocs are
270         resolved.
271
272 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
273
274         [BZ #12469]
275         * Makeconfig: Remove RANLIB definition.
276         * Makerules: Don't use RANLIB.
277         * aclocal.m4: Remove ranlib test.
278         * configure.in: No need to check for ranlib.
279         * elf/rtld-Rules: Don't use RANLIB.
280
281 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
282
283         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
284         protection macro.
285         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
286         inclusion protection macro.
287
288         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
289         SIGRTMIN and SIGRTMAX and print information in that case only when
290         SIGRTMIN is defined.
291
292 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
293
294         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
295         arginfo fn returning -1.
296
297         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
298         and thousands string is zero terminated.
299
300 2011-02-03  Andreas Schwab  <schwab@redhat.com>
301
302         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
303         sysdeps/unix/sysv/linux/bits/socket.h.
304
305 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
306
307         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
308         (__CPU_COUNT): Remove old macros.
309         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
310         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
311         (__CPU_ALLOC, __CPU_FREE): Add macros.
312         (__sched_cpualloc, __sched_cpufree): Add declarations.
313
314 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
315
316         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
317         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
318         * nscd/aicache.c (addhstaiX): Return timeout of added value.
319         (readdhstai): Return value of addhstaiX call.
320         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
321         (addgrbyX): Return value returned by cache_addgr.
322         (readdgrbyname): Return value returned by addgrbyX.
323         (readdgrbygid): Likewise.
324         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
325         (addpwbyX): Return value returned by cache_addpw.
326         (readdpwbyname): Return value returned by addhstbyX.
327         (readdpwbyuid): Likewise.
328         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
329         (addservbyX): Return value returned by cache_addserv.
330         (readdservbyname): Return value returned by addservbyX:
331         (readdservbyport): Likewise.
332         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
333         (addhstbyX): Return value returned by cache_addhst.
334         (readdhstbyname): Return value returned by addhstbyX.
335         (readdhstbyaddr): Likewise.
336         (readdhstbynamev6): Likewise.
337         (readdhstbyaddrv6): Likewise.
338         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
339         (readdinitgroups): Return value returned by addinitgroupsX.
340         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
341         (prune_cache): Keep track of timeout value of re-added entries.
342         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
343         * nscd/nscd.h: Adjust prototypes of readd* functions.
344
345 2011-02-04  Roland McGrath  <roland@redhat.com>
346
347         * nis/nis_server.c (nis_servstate): Use the right name for 0.
348         (nis_stats): Likewise.
349         * nis/nis_modify.c (nis_modify): Likewise.
350         * nis/nis_remove.c (nis_remove): Likewise.
351         * nis/nis_add.c (nis_add): Likewise.
352
353         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
354
355         * posix/fnmatch_loop.c: Add some consts.
356
357         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
358
359 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
360
361         [BZ #12460]
362         * config.make.in (config-cflags-novzeroupper): Define.
363         * configure.in: Substitute libc_cv_cc_novzeroupper.
364         * elf/Makefile (AVX-CFLAGS): Define.
365         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
366         (CFLAGS-tst-auditmod4a.c): Likewise.
367         (CFLAGS-tst-auditmod4b.c): Likewise.
368         (CFLAGS-tst-auditmod6b.c): Likewise.
369         (CFLAGS-tst-auditmod6c.c): Likewise.
370         (CFLAGS-tst-auditmod7b.c): Likewise.
371         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
372
373 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
374
375         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
376         function to the callback.
377         Patch partly by Jiri Olsa <jolsa@redhat.com>.
378
379 2011-02-02  Andreas Schwab  <schwab@redhat.com>
380
381         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
382         of errno.
383
384 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
385
386         [BZ #11724]
387         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
388         of constructors.
389         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
390         of destructors.
391         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
392
393         [BZ #11724]
394         * elf/Makefile: Add rules to build and run new test.
395         * elf/tst-initorder.c: New file.
396         * elf/tst-initorder.exp: New file.
397         * elf/tst-initordera1.c: New file.
398         * elf/tst-initordera2.c: New file.
399         * elf/tst-initordera3.c: New file.
400         * elf/tst-initordera4.c: New file.
401         * elf/tst-initorderb1.c: New file.
402         * elf/tst-initorderb2.c: New file.
403         * elf/tst-order-a1.c: New file.
404         * elf/tst-order-a2.c: New file.
405         * elf/tst-order-a3.c: New file.
406         * elf/tst-order-a4.c: New file.
407         * elf/tst-order-b1.c: New file.
408         * elf/tst-order-b2.c: New file.
409         * elf/tst-order-main.c: New file.
410         New test case by George Gensure <werkt0@gmail.com>.
411
412 2010-10-01  Andreas Schwab  <schwab@redhat.com>
413
414         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
415         decoding ACE if AI_CANONIDN.
416
417 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
418
419         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
420
421 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
422
423         * version.h (RELEASE): Bump for 2.13 release.
424         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
425
426         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
427
428         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
429         MADV_NOHUGEPAGE.
430         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
431         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
432         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
433         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
434         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
435         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
436
437         * posix/getconf.c: Update copyright year.
438         * catgets/gencat.c: Likewise.
439         * csu/version.c: Likewise.
440         * debug/catchsegv.sh: Likewise.
441         * debug/xtrace.sh: Likewise.
442         * elf/ldconfig.c: Likewise.
443         * elf/ldd.bash.in: Likewise.
444         * elf/sprof.c (print_version): Likewise.
445         * iconv/iconv_prog.c: Likewise.
446         * iconv/iconvconfig.c: Likewise.
447         * locale/programs/locale.c: Likewise.
448         * locale/programs/localedef.c: Likewise.
449         * malloc/memusage.sh: Likewise.
450         * malloc/mtrace.pl: Likewise.
451         * nscd/nscd.c (print_version): Likewise.
452         * nss/getent.c: Likewise.
453
454         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
455         PF_CAIF, and PF_ALG.
456         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
457
458 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
459
460         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
461         (modules-names): Use them.
462         (ifunc-test-modules, ifunc-pie-tests): Define.
463         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
464         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
465         (test-extras): Likewise.
466         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
467         $(compile-command.c).
468         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
469         (all-built-dso): Define.
470         (check-textrel.out, check-execstack.out): Depend on it.
471
472         * configure.in: Don't override --enable-multi-arch.
473
474 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
475
476         [BZ #6812]
477         * nscd/hstcache.c (tryagain): Define.
478         (cache_addhst): Return tryagain not notfound for temporary errors.
479         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
480         failed.
481
482 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
483
484         [BZ #10563]
485         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
486         to make the syscall.
487         * sysdeps/unix/sysv/linux/setgroups.c: New file.
488
489         [BZ #12378]
490         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
491         and fall back to matching as normal character if the string ends before
492         the matching ']' is found.  This is what POSIX requires.
493         * posix/testfnm.c: Adjust test result.
494         * posix/globtest.sh: Adjust test result.  Add new test.
495         * posix/tst-fnmatch.input: Likewise.
496         * posix/tst-fnmatch2.c: Add new test.
497
498 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
499
500         * elf/Makefile (check-execstack): Revert last change.  Depend on
501         check-execstack.h.
502         (check-execstack.h): New target.
503         (generated): Add check-execstack.h.
504         * elf/check-execstack.c: Include "check-execstack.h".
505         (main): Revert last change.
506         (handle_file): Return zero if GNU_STACK is absent and
507         DEFAULT_STACK_PERMS doesn't include PF_X.
508
509 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
510
511         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
512         in child fails because the descriptor is already closed.
513         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
514         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
515         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
516
517         [BZ #12397]
518         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
519         syscall.
520
521         [BZ #10484]
522         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
523         temporary buffer used to handle multi lookups locally.
524         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
525
526 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
527
528         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
529         loader is ld.so.
530
531 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
532
533         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
534         alignment for SSE2.
535
536 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
537
538         [BZ #12394]
539         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
540         characters.  When rounding increased number of integer digits recompute
541         number of groups.
542         * stdio-common/tst-grouping.c: New file.
543         * stdio-common/Makefile: Add rules to build and run tst-grouping.
544
545 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
546
547         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
548         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
549
550         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
551         void.
552         * bits/select.h: Likewise.
553
554 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
555
556         * po/ja.po: Update from translation team.
557
558 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
559
560         [BZ #11155]
561         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
562         implementation just like for lxstat, fxstatat, et al.
563
564 2010-12-27  Jim Meyering  <meyering@redhat.com>
565
566         [BZ #12348]
567         * posix/regexec.c (build_trtable): Return failure indication upon
568         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
569
570 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
571
572         [BZ #12201]
573         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
574         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
575         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
576         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
577
578         [BZ #12207]
579         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
580
581         [BZ #12204]
582         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
583         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
584
585 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
586
587         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
588         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
589         script has SORT_BY_INIT_PRIORITY.
590         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
591         NO_CTORS_DTORS_SECTIONS is defined.
592         * elf/soinit.c: Likewise.
593         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
594         NO_CTORS_DTORS_SECTIONS is defined.
595         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
596         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
597         * sysdeps/sh/init-first.c: Likewise.
598         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
599
600 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
601
602         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
603         always use the slow path.
604
605 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
606
607         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
608         similar rule which adds the sysdep directories to the header search in
609         order to pick up the correct platform stackinfo.h.
610         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
611         perform test if it is, otherwise return successfully without testing.
612         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
613         DEFAULT_STACK_PERMS define in stackinfo.h.
614         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
615         defined in stackinfo.h.
616         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
617         DEFAULT_STACK_PERMS defined in stackinfo.h.
618         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
619         * sysdeps/ia64/stackinfo.h: Likewise.
620         * sysdeps/s390/stackinfo.h: Likewise.
621         * sysdeps/sh/stackinfo.h: Likewise.
622         * sysdeps/sparc/stackinfo.h: Likewise.
623         * sysdeps/x86_64/stackinfo.h: Likewise.
624         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
625         PF_X for powerpc64.  Retain PF_X for powerpc32.
626
627 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
628
629         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
630         accurately.
631         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
632         GETDENTS_64BIT_ALIGNED.
633
634 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
635
636         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
637
638 2010-12-10  Andreas Schwab  <schwab@redhat.com>
639
640         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
641         _GNU_SOURCE.
642
643         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
644         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
645         Remove __restrict.
646         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
647         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
648
649 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
650
651         [BZ #11655]
652         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
653         are initialized.
654
655 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
656
657         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
658
659 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
660
661         * po/it.po: Update from translation team.
662
663 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
664
665         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
666         unused codes.
667
668 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
669
670         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
671
672 2010-11-24  Andreas Schwab  <schwab@redhat.com>
673
674         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
675         specially.
676         (gaih_getanswer_slice): Likewise.
677
678 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
679
680         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
681
682 2010-05-31  Petr Baudis  <pasky@suse.cz>
683
684         [BZ #11149]
685         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
686         silently even in the chroot mode.
687
688 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
689
690         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
691         last patch a bit.  Pretty printing
692
693 2010-05-31  Petr Baudis <pasky@suse.cz>
694
695         [BZ #10085]
696         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
697         initialization of skip_initgroups_dyn.
698
699 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
700
701         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
702         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
703
704 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
705
706         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
707
708 2010-11-11  Andreas Schwab  <schwab@redhat.com>
709
710         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
711         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
712         (tst-fnmatch-ENV): Set MALLOC_TRACE.
713         ($(objpfx)tst-fnmatch-mem): New rule.
714         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
715         * posix/tst-fnmatch.c (main): Call mtrace.
716
717 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
718
719         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
720         Support Intel processor model 6 and model 0x2c.
721
722 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
723
724         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
725           signed comparison.
726
727 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
728
729         [BZ #12205]
730         * string/test-strncasecmp.c (check_result): New function.
731         (do_one_test): Use it.
732         (check1): New function.
733         (test_main): Use it.
734         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
735         Support strcasecmp and strncasecmp.
736
737 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
738
739         [BZ #12194]
740         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
741         * sysdeps/x86_64/bits/byteswap.h: Likewise.
742
743 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
744
745         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
746         IFUNC support.
747         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
748         memset-x86-64.
749         * sysdeps/x86_64/multiarch/bzero.S: New file.
750         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
751         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
752         * sysdeps/x86_64/multiarch/memset.S: New file.
753         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
754         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
755         Set bit_Prefer_SSE_for_memop for Intel processors.
756         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
757         Define.
758         (index_Prefer_SSE_for_memop): Define.
759         (HAS_PREFER_SSE_FOR_MEMOP): Define.
760
761 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
762
763         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
764         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
765
766 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
767
768         [BZ #12191]
769         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
770         (__x86_64_raw_data_cache_size_half): Likewise.
771         (__x86_64_raw_shared_cache_size): Likewise.
772         (__x86_64_raw_shared_cache_size_half): Likewise.
773
774         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
775         (__x86_64_raw_data_cache_size_half): Likewise.
776         (__x86_64_raw_shared_cache_size): Likewise.
777         (__x86_64_raw_shared_cache_size_half): Likewise.
778         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
779         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
780         and __x86_64_raw_shared_cache_size_half.  Round
781         __x86_64_data_cache_size_half, __x86_64_data_cache_size
782         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
783         to multiple of 256 bytes.
784
785 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
786
787         [BZ #12167]
788         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
789         of inacessible symlinks.  Verify result of symlink before returning it.
790         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
791         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
792
793 2010-10-28  Erich Ritz  <erichritz@gmail.com>
794
795         * math/math.h (isinf): Fix typo in comment.
796
797 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
798
799         * po/da.po: Update from translation team.
800
801 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
802
803         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
804         is added to the list.
805
806 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
807             Ulrich Drepper  <drepper@gmail.com>
808
809         * elf/dl-object.c (_dl_new_object): Don't append the new object to
810         the global list here.  Move code to...
811         (_dl_add_to_namespace_list): ...here.  New function.
812         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
813         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
814         * elf/dl-load.c (lose): Don't remove the element from the list.
815         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
816         (_dl_map_object): Likewise.
817
818 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
819
820         [BZ #12159]
821         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
822         into all bytes of SSE register.
823         Patch by Richard Li <richardpku@gmail.com>.
824
825 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
826
827         [BZ #12140]
828         * malloc/malloc.c (_int_free): Fill correct number of bytes when
829         perturbing.
830
831 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
832
833         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
834         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
835         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
836         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
837         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
838         submachine.
839         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
840
841 2010-10-22  Andreas Schwab  <schwab@redhat.com>
842
843         * include/dlfcn.h (__RTLD_SECURE): Define.
844         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
845         mode & __RTLD_SECURE instead.
846         (open_path): Rename preloaded parameter to secure.
847         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
848         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
849         * elf/dl-deps.c (openaux): Likewise.
850         * elf/rtld.c (struct map_args): Remove is_preloaded.
851         (map_doit): Don't use it.
852         (dl_main): Likewise.
853         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
854         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
855
856 2010-09-09  Andreas Schwab  <schwab@redhat.com>
857
858         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
859         (sysd-rules-targets): Remove duplicates.
860         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
861         rtld-%.$o dependency.
862
863 2010-10-18  Andreas Schwab  <schwab@redhat.com>
864
865         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
866         _dl_map_object do it.
867
868 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
869
870         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
871         fast fma builtins, define the macros in the C99 standard.
872         (FP_FAST_FMAF): Likewise.
873         (FP_FAST_FMAL): Likewise.
874         * sysdeps/x86_64/bits/mathdef.h: Likewise.
875
876         * bits/mathdef.h: Update copyright year.
877         * sysdeps/powerpc/bits/mathdef.h: Likewise.
878
879 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
880
881         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
882         builtins, define the macros in the C99 standard.
883         (FP_FAST_FMAF): Likewise.
884         (FP_FAST_FMAL): Likewise.
885         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
886         multiply/add.
887         (FP_FAST_FMAF): Likewise.
888
889 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
890
891         [BZ #3268]
892         * math/libm-test.inc (fma_test): Some new testcases.
893         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
894         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
895         y and infinite z.  Do multiplication by C already in long double.
896         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
897         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
898         y and infinite z.  Do bitwise or of inexact bit into u.d.
899         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
900         * sysdeps/i386/fpu/s_fmaf.S: Removed.
901         * sysdeps/i386/fpu/s_fma.S: Removed.
902         * sysdeps/i386/fpu/s_fmal.S: Removed.
903
904 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
905
906         [BZ #3268]
907         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
908         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
909         computation is not scheduled after fetestexcept.  Fix value
910         of minimum denormal long double.
911
912 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
913
914         [BZ #3268]
915         * math/libm-test.inc (fma_test): Add some more tests.
916         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
917         correctly.
918
919 2010-10-15  Andreas Schwab  <schwab@redhat.com>
920
921         * scripts/data/localplt-s390-linux-gnu.data: New file.
922         * scripts/data/localplt-s390x-linux-gnu.data: New file.
923
924 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
925
926         [BZ #3268]
927         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
928         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
929         instead of dbl-64.
930         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
931         inlines.
932         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
933         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
934         if one of x and y is very large and the other is subnormal.
935         * sysdeps/s390/fpu/s_fmaf.c: New file.
936         * sysdeps/s390/fpu/s_fma.c: New file.
937         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
938         * sysdeps/powerpc/fpu/s_fma.S: New file.
939         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
940         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
941         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
942
943 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
944
945         [BZ #3268]
946         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
947         fma tests.
948         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
949         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
950         * sysdeps/i386/i686/multiarch/s_fma.c: Include
951         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
952         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
953         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
954         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
955
956 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
957
958         [BZ #12078]
959         * posix/regcomp.c (parse_branch): One more memory leak plugged.
960         * posix/bug-regex31.input: Add test case.
961
962 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
963
964         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
965         * posix/bug-regex31.input: New file.
966
967         [BZ #12078]
968         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
969         (parse_sub_exp): Fix last change, use postorder.
970
971         * posix/bug-regex31.c: New file.
972         * posix/Makefile: Add rules to build and run bug-regex31.
973
974         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
975
976         [BZ #12078]
977         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
978
979         [BZ #12108]
980         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
981         to have entries in sys_siglist.
982
983         [BZ #12093]
984         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
985         be NULL.
986
987 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
988
989         [BZ #3268]
990         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
991         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
992         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
993         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
994         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
995         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
996         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
997         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
998         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
999         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
1000         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
1001         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
1002         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
1003         * math/ftestexcept.c (fetestexcept): Likewise.
1004         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
1005         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
1006         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
1007         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
1008         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
1009         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
1010         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
1011
1012 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
1013
1014         [BZ #12107]
1015         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
1016         newline.
1017
1018 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
1019
1020         * string/bug-strstr1.c: New file.
1021         * string/Makefile: Add rules to build and run bug-strstr1.
1022
1023 2010-10-05  Eric Blake  <eblake@redhat.com>
1024
1025         [BZ #12092]
1026         * string/str-two-way.h (two_way_long_needle): Always clear memory
1027         when skipping input due to the shift table.
1028
1029 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
1030
1031         [BZ #12005]
1032         * malloc/mcheck.c: Handle large requests.
1033
1034         [BZ #12077]
1035         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
1036         for strncmp and strncasecmp.
1037         * string/stratcliff.c: Add tests for strcmp and strncmp.
1038         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
1039
1040 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
1041
1042         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
1043         __set_fpscr.
1044
1045 2010-09-30  Andreas Jaeger  <aj@suse.de>
1046
1047         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
1048         (CGROUP_SUPER_MAGIC): Define.
1049         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
1050         Handle btrfs and cgroup file systems.
1051         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
1052         Likewise.
1053
1054 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
1055
1056         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
1057         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
1058
1059 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
1060
1061         [BZ #12067]
1062         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
1063         trying to locate the ELF header.
1064
1065 2010-09-27  Andreas Schwab  <schwab@redhat.com>
1066
1067         [BZ #11611]
1068         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
1069         Mask out sign-bit copies when constructing f_fsid.
1070
1071 2010-09-24  Petr Baudis <pasky@suse.cz>
1072
1073         * debug/stack_chk_fail_local.c: Add missing licence exception.
1074         * debug/warning-nop.c: Likewise.
1075
1076 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
1077
1078         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
1079         implementing getdents64 using getdents syscall, set d_type if
1080         __ASSUME_GETDENTS32_D_TYPE.
1081
1082 2010-09-16  Andreas Schwab  <schwab@redhat.com>
1083
1084         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
1085         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
1086
1087 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
1088
1089         [BZ #12037]
1090         * posix/unistd.h: Undo change of feature selection for ftruncate from
1091         2010-01-11.
1092
1093 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
1094
1095         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
1096         detection.
1097
1098 2010-09-20  Andreas Schwab  <schwab@redhat.com>
1099
1100         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
1101         fanotify_mark.
1102         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
1103
1104 2010-09-14  Andreas Schwab  <schwab@redhat.com>
1105
1106         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
1107         variables after CHECK_SP call.
1108         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
1109
1110 2010-09-13  Andreas Schwab  <schwab@redhat.com>
1111             Ulrich Drepper  <drepper@redhat.com>
1112
1113         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
1114         re-relocationg ld.so.
1115         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
1116         _dl_init_paths call.
1117         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
1118         here anymore.
1119
1120 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
1121
1122         * resolv/res_init.c (__res_vinit): Count the default server we added.
1123
1124 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
1125             Ulrich Drepper  <drepper@redhat.com>
1126
1127         [BZ #11968]
1128         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
1129         (____longjmp_chk): Use %ebx for saving value across system call.
1130         Add unwind info.
1131
1132 2010-09-06  Andreas Schwab  <schwab@redhat.com>
1133
1134         * manual/Makefile: Don't mix pattern rules with normal rules.
1135
1136 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
1137
1138         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
1139         operation.
1140         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
1141         * libio/iofopncook.c (_IO_cookie_init): Likewise.
1142         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
1143         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
1144         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
1145         Likewise.
1146
1147 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
1148
1149         [BZ #11979]
1150         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
1151         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
1152
1153 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
1154
1155         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
1156         * sysdeps/x86_64/addmul_1.S: Likewise.
1157         * sysdeps/x86_64/lshift.S: Likewise.
1158         * sysdeps/x86_64/mul_1.S: Likewise.
1159         * sysdeps/x86_64/rshift.S: Likewise.
1160         * sysdeps/x86_64/sub_n.S: Likewise.
1161         * sysdeps/x86_64/submul_1.S: Likewise.
1162
1163 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1164
1165         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
1166         Define __sched_param instead of SCHED_* and sched_param when
1167         <bits/sched.h> is included with __need_schedparam defined.
1168         * bits/sched.h [__need_schedparam]
1169         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
1170         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
1171         (__defined_schedparam): Define to 1.
1172         (__sched_param): New structure, identical to sched_param.
1173         (__need_schedparam): Undefine.
1174
1175 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
1176
1177         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
1178         (epoll_create1): Declare.
1179
1180         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
1181
1182 2010-08-31  Andreas Schwab  <schwab@redhat.com>
1183
1184         [BZ #7066]
1185         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
1186         shifting retval into place.
1187
1188 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
1189
1190         * nis/rpcsvc/nis.h: Update copyright notice.
1191         * nis/rpcsvc/nis.x: Likewise.
1192         * nis/rpcsvc/nis_callback.h: Likewise.
1193         * nis/rpcsvc/nis_callback.x: Likewise.
1194         * nis/rpcsvc/nis_object.x: Likewise.
1195         * nis/rpcsvc/nis_tags.h: Likewise.
1196         * nis/rpcsvc/yp.h: Likewise.
1197         * nis/rpcsvc/yp.x: Likewise.
1198         * nis/rpcsvc/ypupd.h: Likewise.
1199         * nis/yp_xdr.c: Likewise.
1200         * nis/ypupdate_xdr.c: Likewise.
1201
1202         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
1203         mainly the body of pmap_getport.  Add parameters to specify timeouts.
1204         (pmap_getport): Use __libc_rpc_getport.
1205         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
1206         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
1207         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
1208
1209 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
1210
1211         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
1212         fanotify_mark.
1213
1214 2010-08-27  Roland McGrath  <roland@redhat.com>
1215
1216         * sysdeps/i386/i686/multiarch/Makefile
1217         (CFLAGS-varshift.c): New variable.
1218
1219 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
1220
1221         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
1222         * sysdeps/i386/i686/multiarch/varshift.c: New file.
1223
1224         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
1225
1226         * sysdeps/x86_64/strlen.S: Minimal code improvement.
1227
1228 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
1229
1230         * sysdeps/x86_64/strlen.S: Unroll the loop.
1231         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
1232         strlen-sse2 strlen-sse2-bsf.
1233         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
1234         __strlen_no_bsf if bit_Slow_BSF is set.
1235         (__strlen_sse42): Removed.
1236         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
1237         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
1238
1239 2010-08-25  Roland McGrath  <roland@redhat.com>
1240
1241         * sysdeps/x86_64/multiarch/varshift.S: File removed.
1242         * sysdeps/x86_64/multiarch/varshift.c: New file.
1243         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
1244         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
1245         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
1246         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
1247
1248 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
1249
1250         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
1251         strlen-sse2 strlen-sse2-bsf.
1252         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
1253         __strlen_sse2_bsf if bit_Slow_BSF is unset.
1254         (__strlen_sse2): Removed.
1255         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
1256         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
1257         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
1258         bit_Slow_BSF for Atom.
1259         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
1260         (index_Slow_BSF): Define.
1261         (HAS_SLOW_BSF): Define.
1262
1263 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
1264
1265         [BZ #10851]
1266         * resolv/res_init.c (__res_vinit): When no server address at all
1267         is given default to loopback.
1268
1269 2010-08-24  Roland McGrath  <roland@redhat.com>
1270
1271         * configure.in: Remove config-name.h generation.
1272         * configure: Regenerated.
1273         * config-name.in: File removed.
1274         * scripts/config-uname.sh: New file.
1275         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
1276         ($(objdir)config-name.h): New target.
1277
1278         * sunrpc/rpc_parse.h: Avoid nested comment.
1279
1280 2010-08-24  Richard Henderson  <rth@redhat.com>
1281             Ulrich Drepper  <drepper@redhat.com>
1282             H.J. Lu  <hongjiu.lu@intel.com>
1283
1284         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
1285         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
1286         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
1287         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
1288         _mm_alignr_epi8 with _mm_loadu_si128.
1289         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
1290         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
1291         (__m128i_shift_right): Removed.
1292         * sysdeps/i386/i686/multiarch/varshift.h: New file.
1293         * sysdeps/i386/i686/multiarch/varshift.S: New file.
1294         * sysdeps/x86_64/multiarch/varshift.h: New file.
1295         * sysdeps/x86_64/multiarch/varshift.S: New file.
1296
1297 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
1298
1299         * configure.in: Move assembler checks to before sysdep dir checking.
1300
1301 2010-08-20  Petr Baudis  <pasky@suse.cz>
1302
1303         * LICENSES: Sync the sunrpc license.
1304
1305 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
1306
1307         * sunrpc/auth_des.c: Update copyright notice once again.
1308         * sunrpc/auth_none.c: Likewise.
1309         * sunrpc/auth_unix.c: Likewise.
1310         * sunrpc/authdes_prot.c: Likewise.
1311         * sunrpc/authuxprot.c: Likewise.
1312         * sunrpc/bindrsvprt.c: Likewise.
1313         * sunrpc/clnt_gen.c: Likewise.
1314         * sunrpc/clnt_perr.c: Likewise.
1315         * sunrpc/clnt_raw.c: Likewise.
1316         * sunrpc/clnt_simp.c: Likewise.
1317         * sunrpc/clnt_tcp.c: Likewise.
1318         * sunrpc/clnt_udp.c: Likewise.
1319         * sunrpc/clnt_unix.c: Likewise.
1320         * sunrpc/des_crypt.c: Likewise.
1321         * sunrpc/des_soft.c: Likewise.
1322         * sunrpc/get_myaddr.c: Likewise.
1323         * sunrpc/getrpcport.c: Likewise.
1324         * sunrpc/key_call.c: Likewise.
1325         * sunrpc/key_prot.c: Likewise.
1326         * sunrpc/openchild.c: Likewise.
1327         * sunrpc/pm_getmaps.c: Likewise.
1328         * sunrpc/pm_getport.c: Likewise.
1329         * sunrpc/pmap_clnt.c: Likewise.
1330         * sunrpc/pmap_prot.c: Likewise.
1331         * sunrpc/pmap_prot2.c: Likewise.
1332         * sunrpc/pmap_rmt.c: Likewise.
1333         * sunrpc/rpc/auth.h: Likewise.
1334         * sunrpc/rpc/auth_unix.h: Likewise.
1335         * sunrpc/rpc/clnt.h: Likewise.
1336         * sunrpc/rpc/des_crypt.h: Likewise.
1337         * sunrpc/rpc/key_prot.h: Likewise.
1338         * sunrpc/rpc/netdb.h: Likewise.
1339         * sunrpc/rpc/pmap_clnt.h: Likewise.
1340         * sunrpc/rpc/pmap_prot.h: Likewise.
1341         * sunrpc/rpc/pmap_rmt.h: Likewise.
1342         * sunrpc/rpc/rpc.h: Likewise.
1343         * sunrpc/rpc/rpc_des.h: Likewise.
1344         * sunrpc/rpc/rpc_msg.h: Likewise.
1345         * sunrpc/rpc/svc.h: Likewise.
1346         * sunrpc/rpc/svc_auth.h: Likewise.
1347         * sunrpc/rpc/types.h: Likewise.
1348         * sunrpc/rpc/xdr.h: Likewise.
1349         * sunrpc/rpc_clntout.c: Likewise.
1350         * sunrpc/rpc_cmsg.c: Likewise.
1351         * sunrpc/rpc_common.c: Likewise.
1352         * sunrpc/rpc_cout.c: Likewise.
1353         * sunrpc/rpc_dtable.c: Likewise.
1354         * sunrpc/rpc_hout.c: Likewise.
1355         * sunrpc/rpc_main.c: Likewise.
1356         * sunrpc/rpc_parse.c: Likewise.
1357         * sunrpc/rpc_parse.h: Likewise.
1358         * sunrpc/rpc_prot.c: Likewise.
1359         * sunrpc/rpc_sample.c: Likewise.
1360         * sunrpc/rpc_scan.c: Likewise.
1361         * sunrpc/rpc_scan.h: Likewise.
1362         * sunrpc/rpc_svcout.c: Likewise.
1363         * sunrpc/rpc_tblout.c: Likewise.
1364         * sunrpc/rpc_util.c: Likewise.
1365         * sunrpc/rpc_util.h: Likewise.
1366         * sunrpc/rpcinfo.c: Likewise.
1367         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
1368         * sunrpc/rpcsvc/key_prot.x: Likewise.
1369         * sunrpc/rpcsvc/klm_prot.x: Likewise.
1370         * sunrpc/rpcsvc/mount.x: Likewise.
1371         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
1372         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
1373         * sunrpc/rpcsvc/rex.x: Likewise.
1374         * sunrpc/rpcsvc/rstat.x: Likewise.
1375         * sunrpc/rpcsvc/rusers.x: Likewise.
1376         * sunrpc/rpcsvc/sm_inter.x: Likewise.
1377         * sunrpc/rpcsvc/spray.x: Likewise.
1378         * sunrpc/rpcsvc/yppasswd.x: Likewise.
1379         * sunrpc/rtime.c: Likewise.
1380         * sunrpc/svc.c: Likewise.
1381         * sunrpc/svc_auth.c: Likewise.
1382         * sunrpc/svc_authux.c: Likewise.
1383         * sunrpc/svc_raw.c: Likewise.
1384         * sunrpc/svc_run.c: Likewise.
1385         * sunrpc/svc_simple.c: Likewise.
1386         * sunrpc/svc_tcp.c: Likewise.
1387         * sunrpc/svc_udp.c: Likewise.
1388         * sunrpc/svc_unix.c: Likewise.
1389         * sunrpc/svcauth_des.c: Likewise.
1390         * sunrpc/xcrypt.c: Likewise.
1391         * sunrpc/xdr.c: Likewise.
1392         * sunrpc/xdr_array.c: Likewise.
1393         * sunrpc/xdr_float.c: Likewise.
1394         * sunrpc/xdr_mem.c: Likewise.
1395         * sunrpc/xdr_rec.c: Likewise.
1396         * sunrpc/xdr_ref.c: Likewise.
1397         * sunrpc/xdr_sizeof.c: Likewise.
1398         * sunrpc/xdr_stdio.c: Likewise.
1399
1400         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
1401         handling.
1402
1403 2010-08-19  Andreas Schwab  <schwab@redhat.com>
1404
1405         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
1406
1407 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
1408
1409         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
1410         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
1411         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
1412         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
1413         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
1414         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
1415         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
1416         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
1417         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
1418         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
1419         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
1420         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
1421         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
1422         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
1423
1424 2010-07-26  Anton Blanchard  <anton@samba.org>
1425
1426         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
1427         * malloc/arena.c (heap_trim): Likewise.
1428
1429 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
1430
1431         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
1432         here.  Not...
1433         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
1434         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
1435
1436 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
1437
1438         * sysdeps/i386/elf/Makefile: New file.
1439
1440 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
1441
1442         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
1443         from fanotify_init.
1444         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
1445         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
1446
1447 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
1448
1449         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
1450         of strncasecmp_l.
1451         * sysdeps/multiarch/strcmp.S: Likewise.
1452
1453 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
1454
1455         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
1456         strncase_l-nonascii.
1457         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
1458         Add strncase_l-ssse3.
1459         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
1460         * sysdeps/x86_64/strcmp.S: Likewise.
1461         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
1462         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
1463         * sysdeps/x86_64/strncase.S: New file.
1464         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
1465         * sysdeps/x86_64/strncase_l.S: New file.
1466         * string/Makefile (strop-tests): Add strncasecmp.
1467         * string/test-strncasecmp.c: New file.
1468
1469         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
1470         warning.
1471
1472         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
1473         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
1474
1475 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
1476
1477         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
1478
1479 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
1480
1481         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
1482         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
1483         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
1484
1485 2010-05-01  Alan Modra  <amodra@gmail.com>
1486
1487         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
1488         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
1489         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
1490         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
1491         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
1492         tidying.  Don't tail-call __sigjmp_save for static lib.
1493         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
1494         save location.
1495         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
1496         (CALL_MCOUNT): Add eh info, and nop after bl.
1497         (TAIL_CALL_SYSCALL_ERROR): New macro.
1498         (PSEUDO_RET): Use it.
1499         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
1500         Correct save location of integer regs and cr.
1501         (_dl_profile_resolve): Correct cr save location.  Delete nops
1502         after bl when SHARED.  Reduce cfi size a little by better
1503         placement of cfi directives.
1504         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
1505         make a stack frame.  Instead use parm save area as a temp.
1506         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
1507         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
1508         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
1509         Don't make a stack frame for parent, use parm save area.
1510         Increase child stack frame to 112 bytes.  Don't save unused reg,
1511         and adjust reg usage.  Set up cfi on error recovery and
1512         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
1513         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
1514         (__makecontext): Add dummy nop after jump to exit.
1515         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
1516         Use correct parm save area and cr save, reduce stack frame.
1517         Correct cfi for possible PSEUDO_RET frame setup.
1518         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
1519         Branch to local label emitted by PSEUDO_RET rather than
1520         __syscall_error.
1521
1522 2010-08-12  Andreas Schwab  <schwab@redhat.com>
1523
1524         [BZ #11904]
1525         * locale/programs/locale.c (print_assignment): New function.
1526         (show_locale_vars): Use it.
1527
1528 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
1529
1530         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
1531         field.
1532         (struct statfs64): Likewise.
1533         (_STATFS_F_FLAGS): Define.
1534         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
1535         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
1536         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
1537         (ST_VALID): Define locally.
1538         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
1539         __statvfs_getflags, use the provided value.
1540         * sysdeps/unix/sysv/linux/kernel-features.h: Define
1541         __ASSUME_STATFS_F_FLAGS.
1542
1543         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
1544
1545         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
1546         Add sys/fanotify.h.
1547         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
1548         fanotify_mask for GLIBC_2.13.
1549         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
1550         fanotify_init and fanotify_mark.
1551         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
1552         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
1553
1554         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
1555         Add prlimit.
1556         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
1557         prlimit64 for GLIBC_2.13.
1558         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
1559         prlimit64.
1560         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
1561         syscall.
1562         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
1563         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
1564         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
1565         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
1566         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
1567         add prlimit alias.
1568         * sysdeps/unix/sysv/linux/prlimit.c: New file.
1569
1570         [BZ #11903]
1571         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
1572         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
1573
1574         * nss/Makefile: Add rules to build and run tst-nss-test1.
1575         * shlib-versions: Add entry for libnss_test1.
1576         * nss/nss_test1.c: New file.
1577         * nss/tst-nss-test1.c: New file.
1578
1579         * nss/nsswitch.c (__nss_database_custom): Define new variable.
1580         (__nss_configure_lookup): Set appropriate entry in
1581         __nss_configure_lookup to true.
1582         * nss/nsswitch.h: Define enum with indeces of databases in
1583         databases and __nss_database_custom arrays.  Declare
1584         __nss_database_custom.
1585         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
1586         to avoid using nscd when custom rules are installed.
1587         * nss/getXXbyYY_r.c: Likewise.
1588         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
1589
1590         * nss/nss_files/files-parse.c: Whitespace fixes.
1591
1592 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
1593
1594         [BZ #11883]
1595         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
1596         * posix/fnmatch_loop.c: Likewise.
1597
1598 2010-07-17  Andi Kleen  <ak@linux.intel.com>
1599
1600         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
1601         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
1602         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
1603         * Versions.def [GLIBC_2.13]: Add.
1604
1605 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
1606
1607         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
1608         Also fail if tpwd after pwuid call is NULL.
1609
1610 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1611
1612         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
1613         when converting to ms.
1614
1615 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1616
1617         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
1618         EOPNOTSUPP errors with ENOTTY.
1619         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
1620         EOPNOTSUPP errors with ENOTTY.
1621
1622 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
1623
1624         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
1625         Add strcasecmp_l-ssse3.
1626         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
1627         strcasecmp.
1628         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
1629         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
1630         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
1631
1632 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
1633
1634         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
1635
1636         * string/Makefile (strop-tests): Add strcasecmp.
1637         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
1638         strcasecmp_l-nonascii.
1639         (gen-as-const-headers): Add locale-defines.sym.
1640         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
1641         * sysdeps/x86_64/strcasecmp.S: New file.
1642         * sysdeps/x86_64/strcasecmp_l.S: New file.
1643         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
1644         * sysdeps/x86_64/locale-defines.sym: New file.
1645         * string/test-strcasecmp.c: New file.
1646
1647         * string/test-strcasestr.c: Test both ends of the range of characters.
1648         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
1649
1650 2010-07-29  Roland McGrath  <roland@redhat.com>
1651
1652         [BZ #11856]
1653         * manual/locale.texi (Yes-or-No Questions): Fix example code.
1654
1655 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
1656
1657         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
1658         for ld.so.
1659
1660 2010-07-27  Andreas Schwab  <schwab@redhat.com>
1661
1662         * manual/memory.texi (Malloc Tunable Parameters): Document
1663         M_PERTURB.
1664
1665 2010-07-26  Roland McGrath  <roland@redhat.com>
1666
1667         [BZ #11840]
1668         * configure.in (-fgnu89-inline check): Set and substitute
1669         gnu89_inline, not libc_cv_gnu89_inline.
1670         * configure: Regenerated.
1671         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
1672
1673 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
1674
1675         * string/test-strnlen.c: New file.
1676         * string/Makefile (strop-tests): Add strnlen.
1677         * string/tester.c (test_strnlen): Add a few more test cases.
1678         * string/tst-strlen.c: Better error reporting.
1679
1680         * sysdeps/x86_64/strnlen.S: New file.
1681
1682 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
1683
1684         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
1685         lower-latency instructions.
1686
1687 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
1688
1689         * string/test-strcasestr.c: New file.
1690         * string/test-strstr.c: New file.
1691         * string/Makefile (strop-tests): Add strstr and strcasestr.
1692         * string/str-two-way.h: Don't undefine MAX.
1693         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
1694
1695 2010-07-21  Andreas Schwab  <schwab@redhat.com>
1696
1697         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
1698         strcasestr-nonascii.
1699         (CFLAGS-strcasestr-nonascii.c): Define.
1700         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
1701         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
1702         Remove unused attribute.
1703
1704 2010-07-20  Roland McGrath  <roland@redhat.com>
1705
1706         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
1707         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
1708         ld.so.cache was broken.  With it, there is no way to disable dsocaps
1709         like LD_HWCAP_MASK can disable hwcaps.
1710
1711 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
1712
1713         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
1714
1715 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
1716
1717         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
1718         call in strcasestr.
1719         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
1720         __strcasestr_sse42_nonascii.
1721         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
1722         strcasestr-nonascii.c.
1723         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
1724
1725 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
1726
1727         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
1728         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
1729         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
1730         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
1731
1732 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
1733
1734         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
1735         fcntl.
1736
1737 2010-07-06  Andreas Schwab  <schwab@redhat.com>
1738
1739         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
1740         dl_signal_cerror.
1741
1742 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
1743
1744         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
1745         _PC_PIPE_BUF using F_GETPIPE_SZ.
1746
1747 2010-07-05  Roland McGrath  <roland@redhat.com>
1748
1749         * manual/arith.texi (Rounding Functions): Fix rint description
1750         implicit in round description.
1751
1752 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
1753
1754         * elf/Makefile: Fix linking for a few tests to make recent linker
1755         happy.
1756
1757 2010-06-30  Andreas Schwab  <schwab@redhat.com>
1758
1759         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
1760         $(common-objpfx)libc_nonshared.a.
1761
1762 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
1763
1764         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
1765         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
1766         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
1767         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
1768         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
1769         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
1770         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
1771         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
1772         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
1773         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
1774         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
1775         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
1776         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
1777         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
1778         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
1779         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
1780         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
1781         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
1782         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
1783         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
1784         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
1785         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
1786         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
1787         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
1788         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
1789         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
1790         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
1791         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
1792         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
1793         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
1794         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
1795         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
1796         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
1797         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
1798         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
1799         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
1800         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
1801         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
1802         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
1803         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
1804         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
1805         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
1806         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
1807         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
1808         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
1809         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
1810         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
1811         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
1812
1813 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
1814
1815         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
1816         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
1817         * string/memmove.c (memmove): Renamed to ...
1818         (MEMMOVE): ...this.  Default to memmove.
1819         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
1820         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
1821         (END_CHK): Define.
1822         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
1823         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
1824         mempcpy-ssse3-back memmove-ssse3-back.
1825         * sysdeps/x86_64/multiarch/bcopy.S: New file .
1826         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
1827         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
1828         * sysdeps/x86_64/multiarch/memcpy.S: New file.
1829         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
1830         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
1831         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
1832         * sysdeps/x86_64/multiarch/memmove.c: New file.
1833         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
1834         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
1835         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
1836         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
1837         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
1838         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
1839         Define.
1840         (index_Fast_Copy_Backward): Define.
1841         (HAS_ARCH_FEATURE): Define.
1842         (HAS_FAST_REP_STRING): Define.
1843         (HAS_FAST_COPY_BACKWARD): Define.
1844
1845 2010-06-21  Andreas Schwab  <schwab@redhat.com>
1846
1847         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
1848         Restore proper fallback handling.
1849
1850 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
1851
1852         [BZ #11701]
1853         * posix/group_member.c (__group_member): Correct checking loop.
1854
1855         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
1856         OOM in getpwuid_r correctly.  Return error number when the caller
1857         should return, otherwise -1.
1858         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
1859         call returning > 0 value.
1860         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
1861
1862 2010-06-07  Andreas Schwab  <schwab@redhat.com>
1863
1864         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
1865         libc_nonshared.a from targets in modules-names.
1866
1867 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
1868
1869         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
1870         requires it.
1871
1872 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
1873
1874         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
1875         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
1876         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
1877         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
1878
1879 2010-06-02  Andreas Schwab  <schwab@redhat.com>
1880
1881         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
1882
1883 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
1884
1885         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
1886         and F_GETPIPE_SZ.
1887         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
1888         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
1889         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
1890         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
1891         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
1892         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
1893
1894 2010-06-14  Roland McGrath  <roland@redhat.com>
1895
1896         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
1897
1898 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
1899
1900         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
1901         __REDIRECT followed by __THROW.
1902         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
1903         * posix/getopt.h (getopt): Likewise.
1904
1905 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
1906
1907         * hurd/lookup-at.c (__file_name_lookup_at): Accept
1908         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
1909         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
1910         in AT_FLAGS.
1911         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
1912         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
1913
1914 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
1915
1916         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
1917
1918 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
1919
1920         [BZ #11640]
1921         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1922         Properly check family and model.
1923
1924 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
1925
1926         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
1927
1928 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
1929
1930         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
1931
1932 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
1933
1934         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
1935         symbol reference.
1936
1937 2010-05-19  Andreas Schwab  <schwab@redhat.com>
1938
1939         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
1940         symbol reference.
1941
1942 2010-05-21  Andreas Schwab  <schwab@redhat.com>
1943
1944         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
1945         and internal_recvmmsg.
1946         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
1947         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
1948         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
1949         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
1950
1951         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
1952         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
1953         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
1954
1955 2010-05-20  Andreas Schwab  <schwab@redhat.com>
1956
1957         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
1958
1959 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
1960
1961         POWER7 optimizations.
1962         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
1963         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
1964
1965 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
1966
1967         * version.h: Update for 2.13 development version.
1968
1969 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
1970
1971         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
1972         exceptions.  Return 0.
1973
1974 2010-05-07  Roland McGrath  <roland@redhat.com>
1975
1976         * elf/ldconfig.c (main): Add a const.
1977
1978 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
1979
1980         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
1981         (args_options): Add no-idn option.
1982         (ahosts_keys_int): Add idn_flags to ai_flags.
1983         (parse_option): Handle 'i' option to clear idn_flags.
1984
1985         * malloc/malloc.c (_int_free): Possible race in the most recently
1986         added check.  Only act on the data if no current modification
1987         happened.
1988
1989 See ChangeLog.17 for earlier changes.