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