]> git.ipfire.org Git - thirdparty/glibc.git/blob - ChangeLog
Rejigger header generation for default uname implementation.
[thirdparty/glibc.git] / ChangeLog
1 2010-08-24 Roland McGrath <roland@redhat.com>
2
3 * configure.in: Remove config-name.h generation.
4 * configure: Regenerated.
5 * config-name.in: File removed.
6 * scripts/config-uname.sh: New file.
7 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
8 ($(objdir)config-name.h): New target.
9
10 * sunrpc/rpc_parse.h: Avoid nested comment.
11
12 2010-08-24 Richard Henderson <rth@redhat.com>
13 Ulrich Drepper <drepper@redhat.com>
14 H.J. Lu <hongjiu.lu@intel.com>
15
16 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
17 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
18 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
19 Replace _mm_srli_si128 with __m128i_shift_right. Replace
20 _mm_alignr_epi8 with _mm_loadu_si128.
21 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
22 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
23 (__m128i_shift_right): Removed.
24 * sysdeps/i386/i686/multiarch/varshift.h: New file.
25 * sysdeps/i386/i686/multiarch/varshift.S: New file.
26 * sysdeps/x86_64/multiarch/varshift.h: New file.
27 * sysdeps/x86_64/multiarch/varshift.S: New file.
28
29 2010-08-21 Mike Frysinger <vapier@gentoo.org>
30
31 * configure.in: Move assembler checks to before sysdep dir checking.
32
33 2010-08-20 Petr Baudis <pasky@suse.cz>
34
35 * LICENSES: Sync the sunrpc license.
36
37 2010-08-19 Ulrich Drepper <drepper@redhat.com>
38
39 * sunrpc/auth_des.c: Update copyright notice once again.
40 * sunrpc/auth_none.c: Likewise.
41 * sunrpc/auth_unix.c: Likewise.
42 * sunrpc/authdes_prot.c: Likewise.
43 * sunrpc/authuxprot.c: Likewise.
44 * sunrpc/bindrsvprt.c: Likewise.
45 * sunrpc/clnt_gen.c: Likewise.
46 * sunrpc/clnt_perr.c: Likewise.
47 * sunrpc/clnt_raw.c: Likewise.
48 * sunrpc/clnt_simp.c: Likewise.
49 * sunrpc/clnt_tcp.c: Likewise.
50 * sunrpc/clnt_udp.c: Likewise.
51 * sunrpc/clnt_unix.c: Likewise.
52 * sunrpc/des_crypt.c: Likewise.
53 * sunrpc/des_soft.c: Likewise.
54 * sunrpc/get_myaddr.c: Likewise.
55 * sunrpc/getrpcport.c: Likewise.
56 * sunrpc/key_call.c: Likewise.
57 * sunrpc/key_prot.c: Likewise.
58 * sunrpc/openchild.c: Likewise.
59 * sunrpc/pm_getmaps.c: Likewise.
60 * sunrpc/pm_getport.c: Likewise.
61 * sunrpc/pmap_clnt.c: Likewise.
62 * sunrpc/pmap_prot.c: Likewise.
63 * sunrpc/pmap_prot2.c: Likewise.
64 * sunrpc/pmap_rmt.c: Likewise.
65 * sunrpc/rpc/auth.h: Likewise.
66 * sunrpc/rpc/auth_unix.h: Likewise.
67 * sunrpc/rpc/clnt.h: Likewise.
68 * sunrpc/rpc/des_crypt.h: Likewise.
69 * sunrpc/rpc/key_prot.h: Likewise.
70 * sunrpc/rpc/netdb.h: Likewise.
71 * sunrpc/rpc/pmap_clnt.h: Likewise.
72 * sunrpc/rpc/pmap_prot.h: Likewise.
73 * sunrpc/rpc/pmap_rmt.h: Likewise.
74 * sunrpc/rpc/rpc.h: Likewise.
75 * sunrpc/rpc/rpc_des.h: Likewise.
76 * sunrpc/rpc/rpc_msg.h: Likewise.
77 * sunrpc/rpc/svc.h: Likewise.
78 * sunrpc/rpc/svc_auth.h: Likewise.
79 * sunrpc/rpc/types.h: Likewise.
80 * sunrpc/rpc/xdr.h: Likewise.
81 * sunrpc/rpc_clntout.c: Likewise.
82 * sunrpc/rpc_cmsg.c: Likewise.
83 * sunrpc/rpc_common.c: Likewise.
84 * sunrpc/rpc_cout.c: Likewise.
85 * sunrpc/rpc_dtable.c: Likewise.
86 * sunrpc/rpc_hout.c: Likewise.
87 * sunrpc/rpc_main.c: Likewise.
88 * sunrpc/rpc_parse.c: Likewise.
89 * sunrpc/rpc_parse.h: Likewise.
90 * sunrpc/rpc_prot.c: Likewise.
91 * sunrpc/rpc_sample.c: Likewise.
92 * sunrpc/rpc_scan.c: Likewise.
93 * sunrpc/rpc_scan.h: Likewise.
94 * sunrpc/rpc_svcout.c: Likewise.
95 * sunrpc/rpc_tblout.c: Likewise.
96 * sunrpc/rpc_util.c: Likewise.
97 * sunrpc/rpc_util.h: Likewise.
98 * sunrpc/rpcinfo.c: Likewise.
99 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
100 * sunrpc/rpcsvc/key_prot.x: Likewise.
101 * sunrpc/rpcsvc/klm_prot.x: Likewise.
102 * sunrpc/rpcsvc/mount.x: Likewise.
103 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
104 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
105 * sunrpc/rpcsvc/rex.x: Likewise.
106 * sunrpc/rpcsvc/rstat.x: Likewise.
107 * sunrpc/rpcsvc/rusers.x: Likewise.
108 * sunrpc/rpcsvc/sm_inter.x: Likewise.
109 * sunrpc/rpcsvc/spray.x: Likewise.
110 * sunrpc/rpcsvc/yppasswd.x: Likewise.
111 * sunrpc/rtime.c: Likewise.
112 * sunrpc/svc.c: Likewise.
113 * sunrpc/svc_auth.c: Likewise.
114 * sunrpc/svc_authux.c: Likewise.
115 * sunrpc/svc_raw.c: Likewise.
116 * sunrpc/svc_run.c: Likewise.
117 * sunrpc/svc_simple.c: Likewise.
118 * sunrpc/svc_tcp.c: Likewise.
119 * sunrpc/svc_udp.c: Likewise.
120 * sunrpc/svc_unix.c: Likewise.
121 * sunrpc/svcauth_des.c: Likewise.
122 * sunrpc/xcrypt.c: Likewise.
123 * sunrpc/xdr.c: Likewise.
124 * sunrpc/xdr_array.c: Likewise.
125 * sunrpc/xdr_float.c: Likewise.
126 * sunrpc/xdr_mem.c: Likewise.
127 * sunrpc/xdr_rec.c: Likewise.
128 * sunrpc/xdr_ref.c: Likewise.
129 * sunrpc/xdr_sizeof.c: Likewise.
130 * sunrpc/xdr_stdio.c: Likewise.
131
132 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
133 handling.
134
135 2010-08-19 Andreas Schwab <schwab@redhat.com>
136
137 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
138
139 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
140
141 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
142 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
143 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
144 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
145 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
146 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
147 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
148 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
149 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
150 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
151 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
152 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
153 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
154 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
155
156 2010-07-26 Anton Blanchard <anton@samba.org>
157
158 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
159 * malloc/arena.c (heap_trim): Likewise.
160
161 2010-08-16 Ulrich Drepper <drepper@redhat.com>
162
163 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
164 here. Not...
165 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
166 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
167
168 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
169
170 * sysdeps/i386/elf/Makefile: New file.
171
172 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
173
174 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
175 from fanotify_init.
176 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
177 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
178
179 2010-08-15 Ulrich Drepper <drepper@redhat.com>
180
181 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
182 of strncasecmp_l.
183 * sysdeps/multiarch/strcmp.S: Likewise.
184
185 2010-08-14 Ulrich Drepper <drepper@redhat.com>
186
187 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
188 strncase_l-nonascii.
189 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
190 Add strncase_l-ssse3.
191 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
192 * sysdeps/x86_64/strcmp.S: Likewise.
193 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
194 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
195 * sysdeps/x86_64/strncase.S: New file.
196 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
197 * sysdeps/x86_64/strncase_l.S: New file.
198 * string/Makefile (strop-tests): Add strncasecmp.
199 * string/test-strncasecmp.c: New file.
200
201 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
202 warning.
203
204 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
205 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
206
207 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
208
209 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
210
211 2010-08-12 Ulrich Drepper <drepper@redhat.com>
212
213 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
214 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
215 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
216
217 2010-05-01 Alan Modra <amodra@gmail.com>
218
219 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
220 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
221 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
222 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
223 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
224 tidying. Don't tail-call __sigjmp_save for static lib.
225 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
226 save location.
227 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
228 (CALL_MCOUNT): Add eh info, and nop after bl.
229 (TAIL_CALL_SYSCALL_ERROR): New macro.
230 (PSEUDO_RET): Use it.
231 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
232 Correct save location of integer regs and cr.
233 (_dl_profile_resolve): Correct cr save location. Delete nops
234 after bl when SHARED. Reduce cfi size a little by better
235 placement of cfi directives.
236 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
237 make a stack frame. Instead use parm save area as a temp.
238 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
239 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
240 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
241 Don't make a stack frame for parent, use parm save area.
242 Increase child stack frame to 112 bytes. Don't save unused reg,
243 and adjust reg usage. Set up cfi on error recovery and
244 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
245 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
246 (__makecontext): Add dummy nop after jump to exit.
247 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
248 Use correct parm save area and cr save, reduce stack frame.
249 Correct cfi for possible PSEUDO_RET frame setup.
250 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
251 Branch to local label emitted by PSEUDO_RET rather than
252 __syscall_error.
253
254 2010-08-12 Andreas Schwab <schwab@redhat.com>
255
256 [BZ #11904]
257 * locale/programs/locale.c (print_assignment): New function.
258 (show_locale_vars): Use it.
259
260 2010-08-11 Ulrich Drepper <drepper@redhat.com>
261
262 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
263 field.
264 (struct statfs64): Likewise.
265 (_STATFS_F_FLAGS): Define.
266 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
267 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
268 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
269 (ST_VALID): Define locally.
270 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
271 __statvfs_getflags, use the provided value.
272 * sysdeps/unix/sysv/linux/kernel-features.h: Define
273 __ASSUME_STATFS_F_FLAGS.
274
275 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
276
277 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
278 Add sys/fanotify.h.
279 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
280 fanotify_mask for GLIBC_2.13.
281 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
282 fanotify_init and fanotify_mark.
283 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
284 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
285
286 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
287 Add prlimit.
288 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
289 prlimit64 for GLIBC_2.13.
290 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
291 prlimit64.
292 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
293 syscall.
294 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
295 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
296 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
297 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
298 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
299 add prlimit alias.
300 * sysdeps/unix/sysv/linux/prlimit.c: New file.
301
302 [BZ #11903]
303 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
304 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
305
306 * nss/Makefile: Add rules to build and run tst-nss-test1.
307 * shlib-versions: Add entry for libnss_test1.
308 * nss/nss_test1.c: New file.
309 * nss/tst-nss-test1.c: New file.
310
311 * nss/nsswitch.c (__nss_database_custom): Define new variable.
312 (__nss_configure_lookup): Set appropriate entry in
313 __nss_configure_lookup to true.
314 * nss/nsswitch.h: Define enum with indeces of databases in
315 databases and __nss_database_custom arrays. Declare
316 __nss_database_custom.
317 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
318 to avoid using nscd when custom rules are installed.
319 * nss/getXXbyYY_r.c: Likewise.
320 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
321
322 * nss/nss_files/files-parse.c: Whitespace fixes.
323
324 2010-08-09 Ulrich Drepper <drepper@redhat.com>
325
326 [BZ #11883]
327 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
328 * posix/fnmatch_loop.c: Likewise.
329
330 2010-07-17 Andi Kleen <ak@linux.intel.com>
331
332 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
333 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
334 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
335 * Versions.def [GLIBC_2.13]: Add.
336
337 2010-08-06 Ulrich Drepper <drepper@redhat.com>
338
339 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
340 Also fail if tpwd after pwuid call is NULL.
341
342 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
343
344 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
345 when converting to ms.
346
347 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
348
349 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
350 EOPNOTSUPP errors with ENOTTY.
351 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
352 EOPNOTSUPP errors with ENOTTY.
353
354 2010-07-31 Ulrich Drepper <drepper@redhat.com>
355
356 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
357 Add strcasecmp_l-ssse3.
358 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
359 strcasecmp.
360 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
361 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
362 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
363
364 2010-07-30 Ulrich Drepper <drepper@redhat.com>
365
366 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
367
368 * string/Makefile (strop-tests): Add strcasecmp.
369 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
370 strcasecmp_l-nonascii.
371 (gen-as-const-headers): Add locale-defines.sym.
372 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
373 * sysdeps/x86_64/strcasecmp.S: New file.
374 * sysdeps/x86_64/strcasecmp_l.S: New file.
375 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
376 * sysdeps/x86_64/locale-defines.sym: New file.
377 * string/test-strcasecmp.c: New file.
378
379 * string/test-strcasestr.c: Test both ends of the range of characters.
380 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
381
382 2010-07-29 Roland McGrath <roland@redhat.com>
383
384 [BZ #11856]
385 * manual/locale.texi (Yes-or-No Questions): Fix example code.
386
387 2010-07-27 Ulrich Drepper <drepper@redhat.com>
388
389 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
390 for ld.so.
391
392 2010-07-27 Andreas Schwab <schwab@redhat.com>
393
394 * manual/memory.texi (Malloc Tunable Parameters): Document
395 M_PERTURB.
396
397 2010-07-26 Roland McGrath <roland@redhat.com>
398
399 [BZ #11840]
400 * configure.in (-fgnu89-inline check): Set and substitute
401 gnu89_inline, not libc_cv_gnu89_inline.
402 * configure: Regenerated.
403 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
404
405 2010-07-26 Ulrich Drepper <drepper@redhat.com>
406
407 * string/test-strnlen.c: New file.
408 * string/Makefile (strop-tests): Add strnlen.
409 * string/tester.c (test_strnlen): Add a few more test cases.
410 * string/tst-strlen.c: Better error reporting.
411
412 * sysdeps/x86_64/strnlen.S: New file.
413
414 2010-07-24 Ulrich Drepper <drepper@redhat.com>
415
416 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
417 lower-latency instructions.
418
419 2010-07-23 Ulrich Drepper <drepper@redhat.com>
420
421 * string/test-strcasestr.c: New file.
422 * string/test-strstr.c: New file.
423 * string/Makefile (strop-tests): Add strstr and strcasestr.
424 * string/str-two-way.h: Don't undefine MAX.
425 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
426
427 2010-07-21 Andreas Schwab <schwab@redhat.com>
428
429 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
430 strcasestr-nonascii.
431 (CFLAGS-strcasestr-nonascii.c): Define.
432 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
433 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
434 Remove unused attribute.
435
436 2010-07-20 Roland McGrath <roland@redhat.com>
437
438 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
439 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
440 ld.so.cache was broken. With it, there is no way to disable dsocaps
441 like LD_HWCAP_MASK can disable hwcaps.
442
443 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
444
445 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
446
447 2010-07-16 Ulrich Drepper <drepper@redhat.com>
448
449 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
450 call in strcasestr.
451 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
452 __strcasestr_sse42_nonascii.
453 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
454 strcasestr-nonascii.c.
455 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
456
457 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
458
459 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
460 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
461 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
462 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
463
464 2010-07-09 Ulrich Drepper <drepper@redhat.com>
465
466 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
467 fcntl.
468
469 2010-07-06 Andreas Schwab <schwab@redhat.com>
470
471 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
472 dl_signal_cerror.
473
474 2010-07-06 Ulrich Drepper <drepper@redhat.com>
475
476 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
477 _PC_PIPE_BUF using F_GETPIPE_SZ.
478
479 2010-07-05 Roland McGrath <roland@redhat.com>
480
481 * manual/arith.texi (Rounding Functions): Fix rint description
482 implicit in round description.
483
484 2010-07-02 Ulrich Drepper <drepper@redhat.com>
485
486 * elf/Makefile: Fix linking for a few tests to make recent linker
487 happy.
488
489 2010-06-30 Andreas Schwab <schwab@redhat.com>
490
491 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
492 $(common-objpfx)libc_nonshared.a.
493
494 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
495
496 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
497 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
498 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
499 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
500 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
501 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
502 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
503 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
504 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
505 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
506 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
507 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
508 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
509 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
510 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
511 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
512 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
513 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
514 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
515 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
516 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
517 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
518 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
519 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
520 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
521 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
522 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
523 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
524 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
525 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
526 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
527 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
528 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
529 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
530 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
531 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
532 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
533 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
534 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
535 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
536 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
537 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
538 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
539 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
540 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
541 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
542 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
543 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
544
545 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
546
547 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
548 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
549 * string/memmove.c (memmove): Renamed to ...
550 (MEMMOVE): ...this. Default to memmove.
551 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
552 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
553 (END_CHK): Define.
554 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
555 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
556 mempcpy-ssse3-back memmove-ssse3-back.
557 * sysdeps/x86_64/multiarch/bcopy.S: New file .
558 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
559 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
560 * sysdeps/x86_64/multiarch/memcpy.S: New file.
561 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
562 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
563 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
564 * sysdeps/x86_64/multiarch/memmove.c: New file.
565 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
566 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
567 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
568 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
569 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
570 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
571 Define.
572 (index_Fast_Copy_Backward): Define.
573 (HAS_ARCH_FEATURE): Define.
574 (HAS_FAST_REP_STRING): Define.
575 (HAS_FAST_COPY_BACKWARD): Define.
576
577 2010-06-21 Andreas Schwab <schwab@redhat.com>
578
579 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
580 Restore proper fallback handling.
581
582 2010-06-19 Ulrich Drepper <drepper@redhat.com>
583
584 [BZ #11701]
585 * posix/group_member.c (__group_member): Correct checking loop.
586
587 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
588 OOM in getpwuid_r correctly. Return error number when the caller
589 should return, otherwise -1.
590 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
591 call returning > 0 value.
592 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
593
594 2010-06-07 Andreas Schwab <schwab@redhat.com>
595
596 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
597 libc_nonshared.a from targets in modules-names.
598
599 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
600
601 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
602 requires it.
603
604 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
605
606 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
607 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
608 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
609 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
610
611 2010-06-02 Andreas Schwab <schwab@redhat.com>
612
613 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
614
615 2010-06-14 Ulrich Drepper <drepper@redhat.com>
616
617 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
618 and F_GETPIPE_SZ.
619 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
620 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
621 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
622 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
623 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
624 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
625
626 2010-06-14 Roland McGrath <roland@redhat.com>
627
628 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
629
630 2010-06-07 Jakub Jelinek <jakub@redhat.com>
631
632 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
633 __REDIRECT followed by __THROW.
634 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
635 * posix/getopt.h (getopt): Likewise.
636
637 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
638
639 * hurd/lookup-at.c (__file_name_lookup_at): Accept
640 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
641 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
642 in AT_FLAGS.
643 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
644 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
645
646 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
647
648 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
649
650 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
651
652 [BZ #11640]
653 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
654 Properly check family and model.
655
656 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
657
658 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
659
660 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
661
662 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
663
664 2010-05-21 Ulrich Drepper <drepper@redhat.com>
665
666 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
667 symbol reference.
668
669 2010-05-19 Andreas Schwab <schwab@redhat.com>
670
671 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
672 symbol reference.
673
674 2010-05-21 Andreas Schwab <schwab@redhat.com>
675
676 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
677 and internal_recvmmsg.
678 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
679 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
680 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
681 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
682
683 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
684 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
685 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
686
687 2010-05-20 Andreas Schwab <schwab@redhat.com>
688
689 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
690
691 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
692
693 POWER7 optimizations.
694 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
695 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
696
697 2010-05-19 Ulrich Drepper <drepper@redhat.com>
698
699 * version.h: Update for 2.13 development version.
700
701 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
702
703 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
704 exceptions. Return 0.
705
706 2010-05-07 Roland McGrath <roland@redhat.com>
707
708 * elf/ldconfig.c (main): Add a const.
709
710 2010-05-06 Ulrich Drepper <drepper@redhat.com>
711
712 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
713 (args_options): Add no-idn option.
714 (ahosts_keys_int): Add idn_flags to ai_flags.
715 (parse_option): Handle 'i' option to clear idn_flags.
716
717 * malloc/malloc.c (_int_free): Possible race in the most recently
718 added check. Only act on the data if no current modification
719 happened.
720
721 See ChangeLog.17 for earlier changes.