One more regex memory leak fixed.
[platform/upstream/glibc.git] / ChangeLog
1 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
2
3         [BZ #12078]
4         * posix/regcomp.c (parse_branch): One more memory leak plugged.
5         * posix/bug-regex31.input: Add test case.
6
7 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
8
9         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
10         * posix/bug-regex31.input: New file.
11
12         [BZ #12078]
13         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
14         (parse_sub_exp): Fix last change, use postorder.
15
16         * posix/bug-regex31.c: New file.
17         * posix/Makefile: Add rules to build and run bug-regex31.
18
19         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
20
21         [BZ #12078]
22         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
23
24         [BZ #12108]
25         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
26         to have entries in sys_siglist.
27
28         [BZ #12093]
29         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
30         be NULL.
31
32 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
33
34         [BZ #3268]
35         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
36         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
37         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
38         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
39         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
40         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
41         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
42         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
43         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
44         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
45         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
46         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
47         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
48         * math/ftestexcept.c (fetestexcept): Likewise.
49         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
50         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
51         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
52         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
53         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
54         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
55         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
56
57 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
58
59         [BZ #12107]
60         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
61         newline.
62
63 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
64
65         * string/bug-strstr1.c: New file.
66         * string/Makefile: Add rules to build and run bug-strstr1.
67
68 2010-10-05  Eric Blake  <eblake@redhat.com>
69
70         [BZ #12092]
71         * string/str-two-way.h (two_way_long_needle): Always clear memory
72         when skipping input due to the shift table.
73
74 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
75
76         [BZ #12005]
77         * malloc/mcheck.c: Handle large requests.
78
79         [BZ #12077]
80         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
81         for strncmp and strncasecmp.
82         * string/stratcliff.c: Add tests for strcmp and strncmp.
83         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
84
85 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
86
87         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
88         __set_fpscr.
89
90 2010-09-30  Andreas Jaeger  <aj@suse.de>
91
92         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
93         (CGROUP_SUPER_MAGIC): Define.
94         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
95         Handle btrfs and cgroup file systems.
96         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
97         Likewise.
98
99 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
100
101         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
102         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
103
104 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
105
106         [BZ #12067]
107         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
108         trying to locate the ELF header.
109
110 2010-09-27  Andreas Schwab  <schwab@redhat.com>
111
112         [BZ #11611]
113         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
114         Mask out sign-bit copies when constructing f_fsid.
115
116 2010-09-24  Petr Baudis <pasky@suse.cz>
117
118         * debug/stack_chk_fail_local.c: Add missing licence exception.
119         * debug/warning-nop.c: Likewise.
120
121 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
122
123         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
124         implementing getdents64 using getdents syscall, set d_type if
125         __ASSUME_GETDENTS32_D_TYPE.
126
127 2010-09-16  Andreas Schwab  <schwab@redhat.com>
128
129         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
130         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
131
132 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
133
134         [BZ #12037]
135         * posix/unistd.h: Undo change of feature selection for ftruncate from
136         2010-01-11.
137
138 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
139
140         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
141         detection.
142
143 2010-09-20  Andreas Schwab  <schwab@redhat.com>
144
145         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
146         fanotify_mark.
147         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
148
149 2010-09-14  Andreas Schwab  <schwab@redhat.com>
150
151         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
152         variables after CHECK_SP call.
153         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
154
155 2010-09-13  Andreas Schwab  <schwab@redhat.com>
156             Ulrich Drepper  <drepper@redhat.com>
157
158         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
159         re-relocationg ld.so.
160         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
161         _dl_init_paths call.
162         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
163         here anymore.
164
165 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
166
167         * resolv/res_init.c (__res_vinit): Count the default server we added.
168
169 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
170             Ulrich Drepper  <drepper@redhat.com>
171
172         [BZ #11968]
173         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
174         (____longjmp_chk): Use %ebx for saving value across system call.
175         Add unwind info.
176
177 2010-09-06  Andreas Schwab  <schwab@redhat.com>
178
179         * manual/Makefile: Don't mix pattern rules with normal rules.
180
181 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
182
183         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
184         operation.
185         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
186         * libio/iofopncook.c (_IO_cookie_init): Likewise.
187         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
188         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
189         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
190         Likewise.
191
192 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
193
194         [BZ #11979]
195         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
196         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
197
198 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
199
200         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
201         * sysdeps/x86_64/addmul_1.S: Likewise.
202         * sysdeps/x86_64/lshift.S: Likewise.
203         * sysdeps/x86_64/mul_1.S: Likewise.
204         * sysdeps/x86_64/rshift.S: Likewise.
205         * sysdeps/x86_64/sub_n.S: Likewise.
206         * sysdeps/x86_64/submul_1.S: Likewise.
207
208 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
209
210         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
211         Define __sched_param instead of SCHED_* and sched_param when
212         <bits/sched.h> is included with __need_schedparam defined.
213         * bits/sched.h [__need_schedparam]
214         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
215         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
216         (__defined_schedparam): Define to 1.
217         (__sched_param): New structure, identical to sched_param.
218         (__need_schedparam): Undefine.
219
220 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
221
222         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
223         (epoll_create1): Declare.
224
225         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
226
227 2010-08-31  Andreas Schwab  <schwab@redhat.com>
228
229         [BZ #7066]
230         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
231         shifting retval into place.
232
233 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
234
235         * nis/rpcsvc/nis.h: Update copyright notice.
236         * nis/rpcsvc/nis.x: Likewise.
237         * nis/rpcsvc/nis_callback.h: Likewise.
238         * nis/rpcsvc/nis_callback.x: Likewise.
239         * nis/rpcsvc/nis_object.x: Likewise.
240         * nis/rpcsvc/nis_tags.h: Likewise.
241         * nis/rpcsvc/yp.h: Likewise.
242         * nis/rpcsvc/yp.x: Likewise.
243         * nis/rpcsvc/ypupd.h: Likewise.
244         * nis/yp_xdr.c: Likewise.
245         * nis/ypupdate_xdr.c: Likewise.
246
247         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
248         mainly the body of pmap_getport.  Add parameters to specify timeouts.
249         (pmap_getport): Use __libc_rpc_getport.
250         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
251         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
252         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
253
254 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
255
256         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
257         fanotify_mark.
258
259 2010-08-27  Roland McGrath  <roland@redhat.com>
260
261         * sysdeps/i386/i686/multiarch/Makefile
262         (CFLAGS-varshift.c): New variable.
263
264 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
265
266         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
267         * sysdeps/i386/i686/multiarch/varshift.c: New file.
268
269         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
270
271         * sysdeps/x86_64/strlen.S: Minimal code improvement.
272
273 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
274
275         * sysdeps/x86_64/strlen.S: Unroll the loop.
276         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
277         strlen-sse2 strlen-sse2-bsf.
278         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
279         __strlen_no_bsf if bit_Slow_BSF is set.
280         (__strlen_sse42): Removed.
281         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
282         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
283
284 2010-08-25  Roland McGrath  <roland@redhat.com>
285
286         * sysdeps/x86_64/multiarch/varshift.S: File removed.
287         * sysdeps/x86_64/multiarch/varshift.c: New file.
288         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
289         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
290         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
291         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
292
293 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
294
295         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
296         strlen-sse2 strlen-sse2-bsf.
297         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
298         __strlen_sse2_bsf if bit_Slow_BSF is unset.
299         (__strlen_sse2): Removed.
300         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
301         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
302         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
303         bit_Slow_BSF for Atom.
304         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
305         (index_Slow_BSF): Define.
306         (HAS_SLOW_BSF): Define.
307
308 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
309
310         [BZ #10851]
311         * resolv/res_init.c (__res_vinit): When no server address at all
312         is given default to loopback.
313
314 2010-08-24  Roland McGrath  <roland@redhat.com>
315
316         * configure.in: Remove config-name.h generation.
317         * configure: Regenerated.
318         * config-name.in: File removed.
319         * scripts/config-uname.sh: New file.
320         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
321         ($(objdir)config-name.h): New target.
322
323         * sunrpc/rpc_parse.h: Avoid nested comment.
324
325 2010-08-24  Richard Henderson  <rth@redhat.com>
326             Ulrich Drepper  <drepper@redhat.com>
327             H.J. Lu  <hongjiu.lu@intel.com>
328
329         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
330         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
331         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
332         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
333         _mm_alignr_epi8 with _mm_loadu_si128.
334         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
335         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
336         (__m128i_shift_right): Removed.
337         * sysdeps/i386/i686/multiarch/varshift.h: New file.
338         * sysdeps/i386/i686/multiarch/varshift.S: New file.
339         * sysdeps/x86_64/multiarch/varshift.h: New file.
340         * sysdeps/x86_64/multiarch/varshift.S: New file.
341
342 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
343
344         * configure.in: Move assembler checks to before sysdep dir checking.
345
346 2010-08-20  Petr Baudis  <pasky@suse.cz>
347
348         * LICENSES: Sync the sunrpc license.
349
350 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
351
352         * sunrpc/auth_des.c: Update copyright notice once again.
353         * sunrpc/auth_none.c: Likewise.
354         * sunrpc/auth_unix.c: Likewise.
355         * sunrpc/authdes_prot.c: Likewise.
356         * sunrpc/authuxprot.c: Likewise.
357         * sunrpc/bindrsvprt.c: Likewise.
358         * sunrpc/clnt_gen.c: Likewise.
359         * sunrpc/clnt_perr.c: Likewise.
360         * sunrpc/clnt_raw.c: Likewise.
361         * sunrpc/clnt_simp.c: Likewise.
362         * sunrpc/clnt_tcp.c: Likewise.
363         * sunrpc/clnt_udp.c: Likewise.
364         * sunrpc/clnt_unix.c: Likewise.
365         * sunrpc/des_crypt.c: Likewise.
366         * sunrpc/des_soft.c: Likewise.
367         * sunrpc/get_myaddr.c: Likewise.
368         * sunrpc/getrpcport.c: Likewise.
369         * sunrpc/key_call.c: Likewise.
370         * sunrpc/key_prot.c: Likewise.
371         * sunrpc/openchild.c: Likewise.
372         * sunrpc/pm_getmaps.c: Likewise.
373         * sunrpc/pm_getport.c: Likewise.
374         * sunrpc/pmap_clnt.c: Likewise.
375         * sunrpc/pmap_prot.c: Likewise.
376         * sunrpc/pmap_prot2.c: Likewise.
377         * sunrpc/pmap_rmt.c: Likewise.
378         * sunrpc/rpc/auth.h: Likewise.
379         * sunrpc/rpc/auth_unix.h: Likewise.
380         * sunrpc/rpc/clnt.h: Likewise.
381         * sunrpc/rpc/des_crypt.h: Likewise.
382         * sunrpc/rpc/key_prot.h: Likewise.
383         * sunrpc/rpc/netdb.h: Likewise.
384         * sunrpc/rpc/pmap_clnt.h: Likewise.
385         * sunrpc/rpc/pmap_prot.h: Likewise.
386         * sunrpc/rpc/pmap_rmt.h: Likewise.
387         * sunrpc/rpc/rpc.h: Likewise.
388         * sunrpc/rpc/rpc_des.h: Likewise.
389         * sunrpc/rpc/rpc_msg.h: Likewise.
390         * sunrpc/rpc/svc.h: Likewise.
391         * sunrpc/rpc/svc_auth.h: Likewise.
392         * sunrpc/rpc/types.h: Likewise.
393         * sunrpc/rpc/xdr.h: Likewise.
394         * sunrpc/rpc_clntout.c: Likewise.
395         * sunrpc/rpc_cmsg.c: Likewise.
396         * sunrpc/rpc_common.c: Likewise.
397         * sunrpc/rpc_cout.c: Likewise.
398         * sunrpc/rpc_dtable.c: Likewise.
399         * sunrpc/rpc_hout.c: Likewise.
400         * sunrpc/rpc_main.c: Likewise.
401         * sunrpc/rpc_parse.c: Likewise.
402         * sunrpc/rpc_parse.h: Likewise.
403         * sunrpc/rpc_prot.c: Likewise.
404         * sunrpc/rpc_sample.c: Likewise.
405         * sunrpc/rpc_scan.c: Likewise.
406         * sunrpc/rpc_scan.h: Likewise.
407         * sunrpc/rpc_svcout.c: Likewise.
408         * sunrpc/rpc_tblout.c: Likewise.
409         * sunrpc/rpc_util.c: Likewise.
410         * sunrpc/rpc_util.h: Likewise.
411         * sunrpc/rpcinfo.c: Likewise.
412         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
413         * sunrpc/rpcsvc/key_prot.x: Likewise.
414         * sunrpc/rpcsvc/klm_prot.x: Likewise.
415         * sunrpc/rpcsvc/mount.x: Likewise.
416         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
417         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
418         * sunrpc/rpcsvc/rex.x: Likewise.
419         * sunrpc/rpcsvc/rstat.x: Likewise.
420         * sunrpc/rpcsvc/rusers.x: Likewise.
421         * sunrpc/rpcsvc/sm_inter.x: Likewise.
422         * sunrpc/rpcsvc/spray.x: Likewise.
423         * sunrpc/rpcsvc/yppasswd.x: Likewise.
424         * sunrpc/rtime.c: Likewise.
425         * sunrpc/svc.c: Likewise.
426         * sunrpc/svc_auth.c: Likewise.
427         * sunrpc/svc_authux.c: Likewise.
428         * sunrpc/svc_raw.c: Likewise.
429         * sunrpc/svc_run.c: Likewise.
430         * sunrpc/svc_simple.c: Likewise.
431         * sunrpc/svc_tcp.c: Likewise.
432         * sunrpc/svc_udp.c: Likewise.
433         * sunrpc/svc_unix.c: Likewise.
434         * sunrpc/svcauth_des.c: Likewise.
435         * sunrpc/xcrypt.c: Likewise.
436         * sunrpc/xdr.c: Likewise.
437         * sunrpc/xdr_array.c: Likewise.
438         * sunrpc/xdr_float.c: Likewise.
439         * sunrpc/xdr_mem.c: Likewise.
440         * sunrpc/xdr_rec.c: Likewise.
441         * sunrpc/xdr_ref.c: Likewise.
442         * sunrpc/xdr_sizeof.c: Likewise.
443         * sunrpc/xdr_stdio.c: Likewise.
444
445         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
446         handling.
447
448 2010-08-19  Andreas Schwab  <schwab@redhat.com>
449
450         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
451
452 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
453
454         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
455         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
456         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
457         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
458         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
459         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
460         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
461         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
462         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
463         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
464         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
465         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
466         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
467         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
468
469 2010-07-26  Anton Blanchard  <anton@samba.org>
470
471         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
472         * malloc/arena.c (heap_trim): Likewise.
473
474 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
475
476         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
477         here.  Not...
478         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
479         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
480
481 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
482
483         * sysdeps/i386/elf/Makefile: New file.
484
485 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
486
487         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
488         from fanotify_init.
489         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
490         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
491
492 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
493
494         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
495         of strncasecmp_l.
496         * sysdeps/multiarch/strcmp.S: Likewise.
497
498 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
499
500         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
501         strncase_l-nonascii.
502         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
503         Add strncase_l-ssse3.
504         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
505         * sysdeps/x86_64/strcmp.S: Likewise.
506         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
507         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
508         * sysdeps/x86_64/strncase.S: New file.
509         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
510         * sysdeps/x86_64/strncase_l.S: New file.
511         * string/Makefile (strop-tests): Add strncasecmp.
512         * string/test-strncasecmp.c: New file.
513
514         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
515         warning.
516
517         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
518         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
519
520 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
521
522         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
523
524 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
525
526         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
527         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
528         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
529
530 2010-05-01  Alan Modra  <amodra@gmail.com>
531
532         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
533         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
534         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
535         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
536         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
537         tidying.  Don't tail-call __sigjmp_save for static lib.
538         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
539         save location.
540         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
541         (CALL_MCOUNT): Add eh info, and nop after bl.
542         (TAIL_CALL_SYSCALL_ERROR): New macro.
543         (PSEUDO_RET): Use it.
544         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
545         Correct save location of integer regs and cr.
546         (_dl_profile_resolve): Correct cr save location.  Delete nops
547         after bl when SHARED.  Reduce cfi size a little by better
548         placement of cfi directives.
549         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
550         make a stack frame.  Instead use parm save area as a temp.
551         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
552         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
553         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
554         Don't make a stack frame for parent, use parm save area.
555         Increase child stack frame to 112 bytes.  Don't save unused reg,
556         and adjust reg usage.  Set up cfi on error recovery and
557         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
558         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
559         (__makecontext): Add dummy nop after jump to exit.
560         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
561         Use correct parm save area and cr save, reduce stack frame.
562         Correct cfi for possible PSEUDO_RET frame setup.
563         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
564         Branch to local label emitted by PSEUDO_RET rather than
565         __syscall_error.
566
567 2010-08-12  Andreas Schwab  <schwab@redhat.com>
568
569         [BZ #11904]
570         * locale/programs/locale.c (print_assignment): New function.
571         (show_locale_vars): Use it.
572
573 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
574
575         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
576         field.
577         (struct statfs64): Likewise.
578         (_STATFS_F_FLAGS): Define.
579         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
580         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
581         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
582         (ST_VALID): Define locally.
583         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
584         __statvfs_getflags, use the provided value.
585         * sysdeps/unix/sysv/linux/kernel-features.h: Define
586         __ASSUME_STATFS_F_FLAGS.
587
588         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
589
590         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
591         Add sys/fanotify.h.
592         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
593         fanotify_mask for GLIBC_2.13.
594         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
595         fanotify_init and fanotify_mark.
596         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
597         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
598
599         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
600         Add prlimit.
601         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
602         prlimit64 for GLIBC_2.13.
603         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
604         prlimit64.
605         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
606         syscall.
607         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
608         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
609         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
610         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
611         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
612         add prlimit alias.
613         * sysdeps/unix/sysv/linux/prlimit.c: New file.
614
615         [BZ #11903]
616         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
617         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
618
619         * nss/Makefile: Add rules to build and run tst-nss-test1.
620         * shlib-versions: Add entry for libnss_test1.
621         * nss/nss_test1.c: New file.
622         * nss/tst-nss-test1.c: New file.
623
624         * nss/nsswitch.c (__nss_database_custom): Define new variable.
625         (__nss_configure_lookup): Set appropriate entry in
626         __nss_configure_lookup to true.
627         * nss/nsswitch.h: Define enum with indeces of databases in
628         databases and __nss_database_custom arrays.  Declare
629         __nss_database_custom.
630         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
631         to avoid using nscd when custom rules are installed.
632         * nss/getXXbyYY_r.c: Likewise.
633         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
634
635         * nss/nss_files/files-parse.c: Whitespace fixes.
636
637 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
638
639         [BZ #11883]
640         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
641         * posix/fnmatch_loop.c: Likewise.
642
643 2010-07-17  Andi Kleen  <ak@linux.intel.com>
644
645         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
646         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
647         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
648         * Versions.def [GLIBC_2.13]: Add.
649
650 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
651
652         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
653         Also fail if tpwd after pwuid call is NULL.
654
655 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
656
657         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
658         when converting to ms.
659
660 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
661
662         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
663         EOPNOTSUPP errors with ENOTTY.
664         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
665         EOPNOTSUPP errors with ENOTTY.
666
667 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
668
669         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
670         Add strcasecmp_l-ssse3.
671         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
672         strcasecmp.
673         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
674         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
675         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
676
677 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
678
679         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
680
681         * string/Makefile (strop-tests): Add strcasecmp.
682         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
683         strcasecmp_l-nonascii.
684         (gen-as-const-headers): Add locale-defines.sym.
685         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
686         * sysdeps/x86_64/strcasecmp.S: New file.
687         * sysdeps/x86_64/strcasecmp_l.S: New file.
688         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
689         * sysdeps/x86_64/locale-defines.sym: New file.
690         * string/test-strcasecmp.c: New file.
691
692         * string/test-strcasestr.c: Test both ends of the range of characters.
693         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
694
695 2010-07-29  Roland McGrath  <roland@redhat.com>
696
697         [BZ #11856]
698         * manual/locale.texi (Yes-or-No Questions): Fix example code.
699
700 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
701
702         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
703         for ld.so.
704
705 2010-07-27  Andreas Schwab  <schwab@redhat.com>
706
707         * manual/memory.texi (Malloc Tunable Parameters): Document
708         M_PERTURB.
709
710 2010-07-26  Roland McGrath  <roland@redhat.com>
711
712         [BZ #11840]
713         * configure.in (-fgnu89-inline check): Set and substitute
714         gnu89_inline, not libc_cv_gnu89_inline.
715         * configure: Regenerated.
716         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
717
718 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
719
720         * string/test-strnlen.c: New file.
721         * string/Makefile (strop-tests): Add strnlen.
722         * string/tester.c (test_strnlen): Add a few more test cases.
723         * string/tst-strlen.c: Better error reporting.
724
725         * sysdeps/x86_64/strnlen.S: New file.
726
727 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
728
729         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
730         lower-latency instructions.
731
732 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
733
734         * string/test-strcasestr.c: New file.
735         * string/test-strstr.c: New file.
736         * string/Makefile (strop-tests): Add strstr and strcasestr.
737         * string/str-two-way.h: Don't undefine MAX.
738         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
739
740 2010-07-21  Andreas Schwab  <schwab@redhat.com>
741
742         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
743         strcasestr-nonascii.
744         (CFLAGS-strcasestr-nonascii.c): Define.
745         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
746         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
747         Remove unused attribute.
748
749 2010-07-20  Roland McGrath  <roland@redhat.com>
750
751         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
752         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
753         ld.so.cache was broken.  With it, there is no way to disable dsocaps
754         like LD_HWCAP_MASK can disable hwcaps.
755
756 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
757
758         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
759
760 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
761
762         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
763         call in strcasestr.
764         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
765         __strcasestr_sse42_nonascii.
766         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
767         strcasestr-nonascii.c.
768         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
769
770 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
771
772         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
773         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
774         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
775         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
776
777 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
778
779         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
780         fcntl.
781
782 2010-07-06  Andreas Schwab  <schwab@redhat.com>
783
784         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
785         dl_signal_cerror.
786
787 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
788
789         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
790         _PC_PIPE_BUF using F_GETPIPE_SZ.
791
792 2010-07-05  Roland McGrath  <roland@redhat.com>
793
794         * manual/arith.texi (Rounding Functions): Fix rint description
795         implicit in round description.
796
797 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
798
799         * elf/Makefile: Fix linking for a few tests to make recent linker
800         happy.
801
802 2010-06-30  Andreas Schwab  <schwab@redhat.com>
803
804         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
805         $(common-objpfx)libc_nonshared.a.
806
807 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
808
809         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
810         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
811         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
812         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
813         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
814         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
815         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
816         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
817         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
818         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
819         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
820         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
821         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
822         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
823         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
824         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
825         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
826         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
827         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
828         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
829         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
830         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
831         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
832         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
833         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
834         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
835         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
836         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
837         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
838         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
839         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
840         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
841         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
842         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
843         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
844         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
845         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
846         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
847         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
848         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
849         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
850         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
851         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
852         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
853         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
854         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
855         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
856         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
857
858 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
859
860         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
861         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
862         * string/memmove.c (memmove): Renamed to ...
863         (MEMMOVE): ...this.  Default to memmove.
864         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
865         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
866         (END_CHK): Define.
867         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
868         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
869         mempcpy-ssse3-back memmove-ssse3-back.
870         * sysdeps/x86_64/multiarch/bcopy.S: New file .
871         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
872         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
873         * sysdeps/x86_64/multiarch/memcpy.S: New file.
874         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
875         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
876         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
877         * sysdeps/x86_64/multiarch/memmove.c: New file.
878         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
879         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
880         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
881         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
882         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
883         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
884         Define.
885         (index_Fast_Copy_Backward): Define.
886         (HAS_ARCH_FEATURE): Define.
887         (HAS_FAST_REP_STRING): Define.
888         (HAS_FAST_COPY_BACKWARD): Define.
889
890 2010-06-21  Andreas Schwab  <schwab@redhat.com>
891
892         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
893         Restore proper fallback handling.
894
895 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
896
897         [BZ #11701]
898         * posix/group_member.c (__group_member): Correct checking loop.
899
900         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
901         OOM in getpwuid_r correctly.  Return error number when the caller
902         should return, otherwise -1.
903         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
904         call returning > 0 value.
905         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
906
907 2010-06-07  Andreas Schwab  <schwab@redhat.com>
908
909         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
910         libc_nonshared.a from targets in modules-names.
911
912 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
913
914         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
915         requires it.
916
917 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
918
919         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
920         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
921         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
922         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
923
924 2010-06-02  Andreas Schwab  <schwab@redhat.com>
925
926         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
927
928 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
929
930         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
931         and F_GETPIPE_SZ.
932         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
933         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
934         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
935         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
936         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
937         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
938
939 2010-06-14  Roland McGrath  <roland@redhat.com>
940
941         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
942
943 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
944
945         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
946         __REDIRECT followed by __THROW.
947         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
948         * posix/getopt.h (getopt): Likewise.
949
950 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
951
952         * hurd/lookup-at.c (__file_name_lookup_at): Accept
953         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
954         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
955         in AT_FLAGS.
956         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
957         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
958
959 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
960
961         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
962
963 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
964
965         [BZ #11640]
966         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
967         Properly check family and model.
968
969 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
970
971         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
972
973 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
974
975         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
976
977 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
978
979         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
980         symbol reference.
981
982 2010-05-19  Andreas Schwab  <schwab@redhat.com>
983
984         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
985         symbol reference.
986
987 2010-05-21  Andreas Schwab  <schwab@redhat.com>
988
989         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
990         and internal_recvmmsg.
991         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
992         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
993         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
994         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
995
996         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
997         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
998         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
999
1000 2010-05-20  Andreas Schwab  <schwab@redhat.com>
1001
1002         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
1003
1004 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
1005
1006         POWER7 optimizations.
1007         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
1008         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
1009
1010 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
1011
1012         * version.h: Update for 2.13 development version.
1013
1014 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
1015
1016         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
1017         exceptions.  Return 0.
1018
1019 2010-05-07  Roland McGrath  <roland@redhat.com>
1020
1021         * elf/ldconfig.c (main): Add a const.
1022
1023 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
1024
1025         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
1026         (args_options): Add no-idn option.
1027         (ahosts_keys_int): Add idn_flags to ai_flags.
1028         (parse_option): Handle 'i' option to clear idn_flags.
1029
1030         * malloc/malloc.c (_int_free): Possible race in the most recently
1031         added check.  Only act on the data if no current modification
1032         happened.
1033
1034 See ChangeLog.17 for earlier changes.