1 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
3 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4 Support Intel processor model 6 and model 0x2c.
6 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
8 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
11 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
14 * string/test-strncasecmp.c (check_result): New function.
15 (do_one_test): Use it.
16 (check1): New function.
18 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
19 Support strcasecmp and strncasecmp.
21 2010-11-08 Ulrich Drepper <drepper@gmail.com>
24 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
25 * sysdeps/x86_64/bits/byteswap.h: Likewise.
27 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
29 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
31 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
33 * sysdeps/x86_64/multiarch/bzero.S: New file.
34 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
35 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
36 * sysdeps/x86_64/multiarch/memset.S: New file.
37 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
38 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
39 Set bit_Prefer_SSE_for_memop for Intel processors.
40 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
42 (index_Prefer_SSE_for_memop): Define.
43 (HAS_PREFER_SSE_FOR_MEMOP): Define.
45 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
47 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
48 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
50 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
53 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
54 (__x86_64_raw_data_cache_size_half): Likewise.
55 (__x86_64_raw_shared_cache_size): Likewise.
56 (__x86_64_raw_shared_cache_size_half): Likewise.
58 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
59 (__x86_64_raw_data_cache_size_half): Likewise.
60 (__x86_64_raw_shared_cache_size): Likewise.
61 (__x86_64_raw_shared_cache_size_half): Likewise.
62 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
63 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
64 and __x86_64_raw_shared_cache_size_half. Round
65 __x86_64_data_cache_size_half, __x86_64_data_cache_size
66 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
67 to multiple of 256 bytes.
69 2010-11-03 Ulrich Drepper <drepper@gmail.com>
72 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
73 of inacessible symlinks. Verify result of symlink before returning it.
74 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
75 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
77 2010-10-28 Erich Ritz <erichritz@gmail.com>
79 * math/math.h (isinf): Fix typo in comment.
81 2010-11-01 Ulrich Drepper <drepper@gmail.com>
83 * po/da.po: Update from translation team.
85 2010-10-26 Ulrich Drepper <drepper@gmail.com>
87 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
90 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
91 Ulrich Drepper <drepper@gmail.com>
93 * elf/dl-object.c (_dl_new_object): Don't append the new object to
94 the global list here. Move code to...
95 (_dl_add_to_namespace_list): ...here. New function.
96 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
97 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
98 * elf/dl-load.c (lose): Don't remove the element from the list.
99 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
100 (_dl_map_object): Likewise.
102 2010-10-25 Ulrich Drepper <drepper@gmail.com>
105 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
106 into all bytes of SSE register.
107 Patch by Richard Li <richardpku@gmail.com>.
109 2010-10-24 Ulrich Drepper <drepper@gmail.com>
112 * malloc/malloc.c (_int_free): Fill correct number of bytes when
115 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
117 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
118 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
119 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
120 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
121 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
123 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
125 2010-10-22 Andreas Schwab <schwab@redhat.com>
127 * include/dlfcn.h (__RTLD_SECURE): Define.
128 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
129 mode & __RTLD_SECURE instead.
130 (open_path): Rename preloaded parameter to secure.
131 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
132 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
133 * elf/dl-deps.c (openaux): Likewise.
134 * elf/rtld.c (struct map_args): Remove is_preloaded.
135 (map_doit): Don't use it.
137 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
138 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
140 2010-09-09 Andreas Schwab <schwab@redhat.com>
142 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
143 (sysd-rules-targets): Remove duplicates.
144 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
145 rtld-%.$o dependency.
147 2010-10-18 Andreas Schwab <schwab@redhat.com>
149 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
150 _dl_map_object do it.
152 2010-10-19 Ulrich Drepper <drepper@gmail.com>
154 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
155 fast fma builtins, define the macros in the C99 standard.
156 (FP_FAST_FMAF): Likewise.
157 (FP_FAST_FMAL): Likewise.
158 * sysdeps/x86_64/bits/mathdef.h: Likewise.
160 * bits/mathdef.h: Update copyright year.
161 * sysdeps/powerpc/bits/mathdef.h: Likewise.
163 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
165 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
166 builtins, define the macros in the C99 standard.
167 (FP_FAST_FMAF): Likewise.
168 (FP_FAST_FMAL): Likewise.
169 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
171 (FP_FAST_FMAF): Likewise.
173 2010-10-15 Jakub Jelinek <jakub@redhat.com>
176 * math/libm-test.inc (fma_test): Some new testcases.
177 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
178 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
179 y and infinite z. Do multiplication by C already in long double.
180 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
181 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
182 y and infinite z. Do bitwise or of inexact bit into u.d.
183 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
184 * sysdeps/i386/fpu/s_fmaf.S: Removed.
185 * sysdeps/i386/fpu/s_fma.S: Removed.
186 * sysdeps/i386/fpu/s_fmal.S: Removed.
188 2010-10-16 Jakub Jelinek <jakub@redhat.com>
191 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
192 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
193 computation is not scheduled after fetestexcept. Fix value
194 of minimum denormal long double.
196 2010-10-14 Jakub Jelinek <jakub@redhat.com>
199 * math/libm-test.inc (fma_test): Add some more tests.
200 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
203 2010-10-15 Andreas Schwab <schwab@redhat.com>
205 * scripts/data/localplt-s390-linux-gnu.data: New file.
206 * scripts/data/localplt-s390x-linux-gnu.data: New file.
208 2010-10-13 Jakub Jelinek <jakub@redhat.com>
211 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
212 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
214 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
216 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
217 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
218 if one of x and y is very large and the other is subnormal.
219 * sysdeps/s390/fpu/s_fmaf.c: New file.
220 * sysdeps/s390/fpu/s_fma.c: New file.
221 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
222 * sysdeps/powerpc/fpu/s_fma.S: New file.
223 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
224 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
225 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
227 2010-10-12 Jakub Jelinek <jakub@redhat.com>
230 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
232 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
233 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
234 * sysdeps/i386/i686/multiarch/s_fma.c: Include
235 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
236 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
237 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
238 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
240 2010-10-12 Ulrich Drepper <drepper@redhat.com>
243 * posix/regcomp.c (parse_branch): One more memory leak plugged.
244 * posix/bug-regex31.input: Add test case.
246 2010-10-11 Ulrich Drepper <drepper@gmail.com>
248 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
249 * posix/bug-regex31.input: New file.
252 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
253 (parse_sub_exp): Fix last change, use postorder.
255 * posix/bug-regex31.c: New file.
256 * posix/Makefile: Add rules to build and run bug-regex31.
258 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
261 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
264 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
265 to have entries in sys_siglist.
268 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
271 2010-10-07 Jakub Jelinek <jakub@redhat.com>
274 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
275 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
276 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
277 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
278 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
279 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
280 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
281 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
282 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
283 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
284 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
285 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
286 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
287 * math/ftestexcept.c (fetestexcept): Likewise.
288 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
289 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
290 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
291 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
292 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
293 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
294 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
296 2010-10-11 Ulrich Drepper <drepper@gmail.com>
299 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
302 2010-10-06 Ulrich Drepper <drepper@gmail.com>
304 * string/bug-strstr1.c: New file.
305 * string/Makefile: Add rules to build and run bug-strstr1.
307 2010-10-05 Eric Blake <eblake@redhat.com>
310 * string/str-two-way.h (two_way_long_needle): Always clear memory
311 when skipping input due to the shift table.
313 2010-10-03 Ulrich Drepper <drepper@gmail.com>
316 * malloc/mcheck.c: Handle large requests.
319 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
320 for strncmp and strncasecmp.
321 * string/stratcliff.c: Add tests for strcmp and strncmp.
322 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
324 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
326 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
329 2010-09-30 Andreas Jaeger <aj@suse.de>
331 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
332 (CGROUP_SUPER_MAGIC): Define.
333 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
334 Handle btrfs and cgroup file systems.
335 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
338 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
340 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
341 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
343 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
346 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
347 trying to locate the ELF header.
349 2010-09-27 Andreas Schwab <schwab@redhat.com>
352 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
353 Mask out sign-bit copies when constructing f_fsid.
355 2010-09-24 Petr Baudis <pasky@suse.cz>
357 * debug/stack_chk_fail_local.c: Add missing licence exception.
358 * debug/warning-nop.c: Likewise.
360 2010-09-15 Joseph Myers <joseph@codesourcery.com>
362 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
363 implementing getdents64 using getdents syscall, set d_type if
364 __ASSUME_GETDENTS32_D_TYPE.
366 2010-09-16 Andreas Schwab <schwab@redhat.com>
368 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
369 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
371 2010-09-21 Ulrich Drepper <drepper@redhat.com>
374 * posix/unistd.h: Undo change of feature selection for ftruncate from
377 2010-09-20 Ulrich Drepper <drepper@redhat.com>
379 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
382 2010-09-20 Andreas Schwab <schwab@redhat.com>
384 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
386 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
388 2010-09-14 Andreas Schwab <schwab@redhat.com>
390 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
391 variables after CHECK_SP call.
392 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
394 2010-09-13 Andreas Schwab <schwab@redhat.com>
395 Ulrich Drepper <drepper@redhat.com>
397 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
398 re-relocationg ld.so.
399 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
401 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
404 2010-09-14 Ulrich Drepper <drepper@redhat.com>
406 * resolv/res_init.c (__res_vinit): Count the default server we added.
408 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
409 Ulrich Drepper <drepper@redhat.com>
412 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
413 (____longjmp_chk): Use %ebx for saving value across system call.
416 2010-09-06 Andreas Schwab <schwab@redhat.com>
418 * manual/Makefile: Don't mix pattern rules with normal rules.
420 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
422 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
424 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
425 * libio/iofopncook.c (_IO_cookie_init): Likewise.
426 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
427 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
428 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
431 2010-09-04 Ulrich Drepper <drepper@redhat.com>
434 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
435 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
437 2010-09-02 Ulrich Drepper <drepper@redhat.com>
439 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
440 * sysdeps/x86_64/addmul_1.S: Likewise.
441 * sysdeps/x86_64/lshift.S: Likewise.
442 * sysdeps/x86_64/mul_1.S: Likewise.
443 * sysdeps/x86_64/rshift.S: Likewise.
444 * sysdeps/x86_64/sub_n.S: Likewise.
445 * sysdeps/x86_64/submul_1.S: Likewise.
447 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
449 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
450 Define __sched_param instead of SCHED_* and sched_param when
451 <bits/sched.h> is included with __need_schedparam defined.
452 * bits/sched.h [__need_schedparam]
453 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
454 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
455 (__defined_schedparam): Define to 1.
456 (__sched_param): New structure, identical to sched_param.
457 (__need_schedparam): Undefine.
459 2010-08-31 Mike Frysinger <vapier@gentoo.org>
461 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
462 (epoll_create1): Declare.
464 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
466 2010-08-31 Andreas Schwab <schwab@redhat.com>
469 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
470 shifting retval into place.
472 2010-09-01 Ulrich Drepper <drepper@redhat.com>
474 * nis/rpcsvc/nis.h: Update copyright notice.
475 * nis/rpcsvc/nis.x: Likewise.
476 * nis/rpcsvc/nis_callback.h: Likewise.
477 * nis/rpcsvc/nis_callback.x: Likewise.
478 * nis/rpcsvc/nis_object.x: Likewise.
479 * nis/rpcsvc/nis_tags.h: Likewise.
480 * nis/rpcsvc/yp.h: Likewise.
481 * nis/rpcsvc/yp.x: Likewise.
482 * nis/rpcsvc/ypupd.h: Likewise.
483 * nis/yp_xdr.c: Likewise.
484 * nis/ypupdate_xdr.c: Likewise.
486 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
487 mainly the body of pmap_getport. Add parameters to specify timeouts.
488 (pmap_getport): Use __libc_rpc_getport.
489 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
490 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
491 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
493 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
495 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
498 2010-08-27 Roland McGrath <roland@redhat.com>
500 * sysdeps/i386/i686/multiarch/Makefile
501 (CFLAGS-varshift.c): New variable.
503 2010-08-27 Ulrich Drepper <drepper@redhat.com>
505 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
506 * sysdeps/i386/i686/multiarch/varshift.c: New file.
508 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
510 * sysdeps/x86_64/strlen.S: Minimal code improvement.
512 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
514 * sysdeps/x86_64/strlen.S: Unroll the loop.
515 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
516 strlen-sse2 strlen-sse2-bsf.
517 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
518 __strlen_no_bsf if bit_Slow_BSF is set.
519 (__strlen_sse42): Removed.
520 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
521 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
523 2010-08-25 Roland McGrath <roland@redhat.com>
525 * sysdeps/x86_64/multiarch/varshift.S: File removed.
526 * sysdeps/x86_64/multiarch/varshift.c: New file.
527 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
528 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
529 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
530 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
532 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
534 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
535 strlen-sse2 strlen-sse2-bsf.
536 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
537 __strlen_sse2_bsf if bit_Slow_BSF is unset.
538 (__strlen_sse2): Removed.
539 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
540 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
541 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
542 bit_Slow_BSF for Atom.
543 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
544 (index_Slow_BSF): Define.
545 (HAS_SLOW_BSF): Define.
547 2010-08-25 Ulrich Drepper <drepper@redhat.com>
550 * resolv/res_init.c (__res_vinit): When no server address at all
551 is given default to loopback.
553 2010-08-24 Roland McGrath <roland@redhat.com>
555 * configure.in: Remove config-name.h generation.
556 * configure: Regenerated.
557 * config-name.in: File removed.
558 * scripts/config-uname.sh: New file.
559 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
560 ($(objdir)config-name.h): New target.
562 * sunrpc/rpc_parse.h: Avoid nested comment.
564 2010-08-24 Richard Henderson <rth@redhat.com>
565 Ulrich Drepper <drepper@redhat.com>
566 H.J. Lu <hongjiu.lu@intel.com>
568 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
569 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
570 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
571 Replace _mm_srli_si128 with __m128i_shift_right. Replace
572 _mm_alignr_epi8 with _mm_loadu_si128.
573 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
574 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
575 (__m128i_shift_right): Removed.
576 * sysdeps/i386/i686/multiarch/varshift.h: New file.
577 * sysdeps/i386/i686/multiarch/varshift.S: New file.
578 * sysdeps/x86_64/multiarch/varshift.h: New file.
579 * sysdeps/x86_64/multiarch/varshift.S: New file.
581 2010-08-21 Mike Frysinger <vapier@gentoo.org>
583 * configure.in: Move assembler checks to before sysdep dir checking.
585 2010-08-20 Petr Baudis <pasky@suse.cz>
587 * LICENSES: Sync the sunrpc license.
589 2010-08-19 Ulrich Drepper <drepper@redhat.com>
591 * sunrpc/auth_des.c: Update copyright notice once again.
592 * sunrpc/auth_none.c: Likewise.
593 * sunrpc/auth_unix.c: Likewise.
594 * sunrpc/authdes_prot.c: Likewise.
595 * sunrpc/authuxprot.c: Likewise.
596 * sunrpc/bindrsvprt.c: Likewise.
597 * sunrpc/clnt_gen.c: Likewise.
598 * sunrpc/clnt_perr.c: Likewise.
599 * sunrpc/clnt_raw.c: Likewise.
600 * sunrpc/clnt_simp.c: Likewise.
601 * sunrpc/clnt_tcp.c: Likewise.
602 * sunrpc/clnt_udp.c: Likewise.
603 * sunrpc/clnt_unix.c: Likewise.
604 * sunrpc/des_crypt.c: Likewise.
605 * sunrpc/des_soft.c: Likewise.
606 * sunrpc/get_myaddr.c: Likewise.
607 * sunrpc/getrpcport.c: Likewise.
608 * sunrpc/key_call.c: Likewise.
609 * sunrpc/key_prot.c: Likewise.
610 * sunrpc/openchild.c: Likewise.
611 * sunrpc/pm_getmaps.c: Likewise.
612 * sunrpc/pm_getport.c: Likewise.
613 * sunrpc/pmap_clnt.c: Likewise.
614 * sunrpc/pmap_prot.c: Likewise.
615 * sunrpc/pmap_prot2.c: Likewise.
616 * sunrpc/pmap_rmt.c: Likewise.
617 * sunrpc/rpc/auth.h: Likewise.
618 * sunrpc/rpc/auth_unix.h: Likewise.
619 * sunrpc/rpc/clnt.h: Likewise.
620 * sunrpc/rpc/des_crypt.h: Likewise.
621 * sunrpc/rpc/key_prot.h: Likewise.
622 * sunrpc/rpc/netdb.h: Likewise.
623 * sunrpc/rpc/pmap_clnt.h: Likewise.
624 * sunrpc/rpc/pmap_prot.h: Likewise.
625 * sunrpc/rpc/pmap_rmt.h: Likewise.
626 * sunrpc/rpc/rpc.h: Likewise.
627 * sunrpc/rpc/rpc_des.h: Likewise.
628 * sunrpc/rpc/rpc_msg.h: Likewise.
629 * sunrpc/rpc/svc.h: Likewise.
630 * sunrpc/rpc/svc_auth.h: Likewise.
631 * sunrpc/rpc/types.h: Likewise.
632 * sunrpc/rpc/xdr.h: Likewise.
633 * sunrpc/rpc_clntout.c: Likewise.
634 * sunrpc/rpc_cmsg.c: Likewise.
635 * sunrpc/rpc_common.c: Likewise.
636 * sunrpc/rpc_cout.c: Likewise.
637 * sunrpc/rpc_dtable.c: Likewise.
638 * sunrpc/rpc_hout.c: Likewise.
639 * sunrpc/rpc_main.c: Likewise.
640 * sunrpc/rpc_parse.c: Likewise.
641 * sunrpc/rpc_parse.h: Likewise.
642 * sunrpc/rpc_prot.c: Likewise.
643 * sunrpc/rpc_sample.c: Likewise.
644 * sunrpc/rpc_scan.c: Likewise.
645 * sunrpc/rpc_scan.h: Likewise.
646 * sunrpc/rpc_svcout.c: Likewise.
647 * sunrpc/rpc_tblout.c: Likewise.
648 * sunrpc/rpc_util.c: Likewise.
649 * sunrpc/rpc_util.h: Likewise.
650 * sunrpc/rpcinfo.c: Likewise.
651 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
652 * sunrpc/rpcsvc/key_prot.x: Likewise.
653 * sunrpc/rpcsvc/klm_prot.x: Likewise.
654 * sunrpc/rpcsvc/mount.x: Likewise.
655 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
656 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
657 * sunrpc/rpcsvc/rex.x: Likewise.
658 * sunrpc/rpcsvc/rstat.x: Likewise.
659 * sunrpc/rpcsvc/rusers.x: Likewise.
660 * sunrpc/rpcsvc/sm_inter.x: Likewise.
661 * sunrpc/rpcsvc/spray.x: Likewise.
662 * sunrpc/rpcsvc/yppasswd.x: Likewise.
663 * sunrpc/rtime.c: Likewise.
664 * sunrpc/svc.c: Likewise.
665 * sunrpc/svc_auth.c: Likewise.
666 * sunrpc/svc_authux.c: Likewise.
667 * sunrpc/svc_raw.c: Likewise.
668 * sunrpc/svc_run.c: Likewise.
669 * sunrpc/svc_simple.c: Likewise.
670 * sunrpc/svc_tcp.c: Likewise.
671 * sunrpc/svc_udp.c: Likewise.
672 * sunrpc/svc_unix.c: Likewise.
673 * sunrpc/svcauth_des.c: Likewise.
674 * sunrpc/xcrypt.c: Likewise.
675 * sunrpc/xdr.c: Likewise.
676 * sunrpc/xdr_array.c: Likewise.
677 * sunrpc/xdr_float.c: Likewise.
678 * sunrpc/xdr_mem.c: Likewise.
679 * sunrpc/xdr_rec.c: Likewise.
680 * sunrpc/xdr_ref.c: Likewise.
681 * sunrpc/xdr_sizeof.c: Likewise.
682 * sunrpc/xdr_stdio.c: Likewise.
684 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
687 2010-08-19 Andreas Schwab <schwab@redhat.com>
689 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
691 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
693 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
694 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
695 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
696 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
697 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
698 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
699 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
700 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
701 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
702 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
703 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
704 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
705 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
706 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
708 2010-07-26 Anton Blanchard <anton@samba.org>
710 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
711 * malloc/arena.c (heap_trim): Likewise.
713 2010-08-16 Ulrich Drepper <drepper@redhat.com>
715 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
717 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
718 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
720 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
722 * sysdeps/i386/elf/Makefile: New file.
724 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
726 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
728 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
729 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
731 2010-08-15 Ulrich Drepper <drepper@redhat.com>
733 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
735 * sysdeps/multiarch/strcmp.S: Likewise.
737 2010-08-14 Ulrich Drepper <drepper@redhat.com>
739 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
741 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
742 Add strncase_l-ssse3.
743 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
744 * sysdeps/x86_64/strcmp.S: Likewise.
745 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
746 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
747 * sysdeps/x86_64/strncase.S: New file.
748 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
749 * sysdeps/x86_64/strncase_l.S: New file.
750 * string/Makefile (strop-tests): Add strncasecmp.
751 * string/test-strncasecmp.c: New file.
753 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
756 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
757 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
759 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
761 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
763 2010-08-12 Ulrich Drepper <drepper@redhat.com>
765 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
766 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
767 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
769 2010-05-01 Alan Modra <amodra@gmail.com>
771 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
772 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
773 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
774 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
775 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
776 tidying. Don't tail-call __sigjmp_save for static lib.
777 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
779 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
780 (CALL_MCOUNT): Add eh info, and nop after bl.
781 (TAIL_CALL_SYSCALL_ERROR): New macro.
782 (PSEUDO_RET): Use it.
783 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
784 Correct save location of integer regs and cr.
785 (_dl_profile_resolve): Correct cr save location. Delete nops
786 after bl when SHARED. Reduce cfi size a little by better
787 placement of cfi directives.
788 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
789 make a stack frame. Instead use parm save area as a temp.
790 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
791 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
792 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
793 Don't make a stack frame for parent, use parm save area.
794 Increase child stack frame to 112 bytes. Don't save unused reg,
795 and adjust reg usage. Set up cfi on error recovery and
796 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
797 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
798 (__makecontext): Add dummy nop after jump to exit.
799 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
800 Use correct parm save area and cr save, reduce stack frame.
801 Correct cfi for possible PSEUDO_RET frame setup.
802 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
803 Branch to local label emitted by PSEUDO_RET rather than
806 2010-08-12 Andreas Schwab <schwab@redhat.com>
809 * locale/programs/locale.c (print_assignment): New function.
810 (show_locale_vars): Use it.
812 2010-08-11 Ulrich Drepper <drepper@redhat.com>
814 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
816 (struct statfs64): Likewise.
817 (_STATFS_F_FLAGS): Define.
818 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
819 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
820 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
821 (ST_VALID): Define locally.
822 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
823 __statvfs_getflags, use the provided value.
824 * sysdeps/unix/sysv/linux/kernel-features.h: Define
825 __ASSUME_STATFS_F_FLAGS.
827 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
829 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
831 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
832 fanotify_mask for GLIBC_2.13.
833 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
834 fanotify_init and fanotify_mark.
835 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
836 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
838 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
840 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
841 prlimit64 for GLIBC_2.13.
842 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
844 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
846 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
847 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
848 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
849 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
850 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
852 * sysdeps/unix/sysv/linux/prlimit.c: New file.
855 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
856 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
858 * nss/Makefile: Add rules to build and run tst-nss-test1.
859 * shlib-versions: Add entry for libnss_test1.
860 * nss/nss_test1.c: New file.
861 * nss/tst-nss-test1.c: New file.
863 * nss/nsswitch.c (__nss_database_custom): Define new variable.
864 (__nss_configure_lookup): Set appropriate entry in
865 __nss_configure_lookup to true.
866 * nss/nsswitch.h: Define enum with indeces of databases in
867 databases and __nss_database_custom arrays. Declare
868 __nss_database_custom.
869 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
870 to avoid using nscd when custom rules are installed.
871 * nss/getXXbyYY_r.c: Likewise.
872 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
874 * nss/nss_files/files-parse.c: Whitespace fixes.
876 2010-08-09 Ulrich Drepper <drepper@redhat.com>
879 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
880 * posix/fnmatch_loop.c: Likewise.
882 2010-07-17 Andi Kleen <ak@linux.intel.com>
884 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
885 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
886 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
887 * Versions.def [GLIBC_2.13]: Add.
889 2010-08-06 Ulrich Drepper <drepper@redhat.com>
891 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
892 Also fail if tpwd after pwuid call is NULL.
894 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
896 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
897 when converting to ms.
899 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
901 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
902 EOPNOTSUPP errors with ENOTTY.
903 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
904 EOPNOTSUPP errors with ENOTTY.
906 2010-07-31 Ulrich Drepper <drepper@redhat.com>
908 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
909 Add strcasecmp_l-ssse3.
910 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
912 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
913 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
914 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
916 2010-07-30 Ulrich Drepper <drepper@redhat.com>
918 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
920 * string/Makefile (strop-tests): Add strcasecmp.
921 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
922 strcasecmp_l-nonascii.
923 (gen-as-const-headers): Add locale-defines.sym.
924 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
925 * sysdeps/x86_64/strcasecmp.S: New file.
926 * sysdeps/x86_64/strcasecmp_l.S: New file.
927 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
928 * sysdeps/x86_64/locale-defines.sym: New file.
929 * string/test-strcasecmp.c: New file.
931 * string/test-strcasestr.c: Test both ends of the range of characters.
932 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
934 2010-07-29 Roland McGrath <roland@redhat.com>
937 * manual/locale.texi (Yes-or-No Questions): Fix example code.
939 2010-07-27 Ulrich Drepper <drepper@redhat.com>
941 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
944 2010-07-27 Andreas Schwab <schwab@redhat.com>
946 * manual/memory.texi (Malloc Tunable Parameters): Document
949 2010-07-26 Roland McGrath <roland@redhat.com>
952 * configure.in (-fgnu89-inline check): Set and substitute
953 gnu89_inline, not libc_cv_gnu89_inline.
954 * configure: Regenerated.
955 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
957 2010-07-26 Ulrich Drepper <drepper@redhat.com>
959 * string/test-strnlen.c: New file.
960 * string/Makefile (strop-tests): Add strnlen.
961 * string/tester.c (test_strnlen): Add a few more test cases.
962 * string/tst-strlen.c: Better error reporting.
964 * sysdeps/x86_64/strnlen.S: New file.
966 2010-07-24 Ulrich Drepper <drepper@redhat.com>
968 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
969 lower-latency instructions.
971 2010-07-23 Ulrich Drepper <drepper@redhat.com>
973 * string/test-strcasestr.c: New file.
974 * string/test-strstr.c: New file.
975 * string/Makefile (strop-tests): Add strstr and strcasestr.
976 * string/str-two-way.h: Don't undefine MAX.
977 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
979 2010-07-21 Andreas Schwab <schwab@redhat.com>
981 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
983 (CFLAGS-strcasestr-nonascii.c): Define.
984 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
985 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
986 Remove unused attribute.
988 2010-07-20 Roland McGrath <roland@redhat.com>
990 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
991 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
992 ld.so.cache was broken. With it, there is no way to disable dsocaps
993 like LD_HWCAP_MASK can disable hwcaps.
995 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
997 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
999 2010-07-16 Ulrich Drepper <drepper@redhat.com>
1001 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
1003 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
1004 __strcasestr_sse42_nonascii.
1005 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
1006 strcasestr-nonascii.c.
1007 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
1009 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
1011 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
1012 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
1013 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
1014 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
1016 2010-07-09 Ulrich Drepper <drepper@redhat.com>
1018 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
1021 2010-07-06 Andreas Schwab <schwab@redhat.com>
1023 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
1026 2010-07-06 Ulrich Drepper <drepper@redhat.com>
1028 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
1029 _PC_PIPE_BUF using F_GETPIPE_SZ.
1031 2010-07-05 Roland McGrath <roland@redhat.com>
1033 * manual/arith.texi (Rounding Functions): Fix rint description
1034 implicit in round description.
1036 2010-07-02 Ulrich Drepper <drepper@redhat.com>
1038 * elf/Makefile: Fix linking for a few tests to make recent linker
1041 2010-06-30 Andreas Schwab <schwab@redhat.com>
1043 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
1044 $(common-objpfx)libc_nonshared.a.
1046 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
1048 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
1049 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
1050 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
1051 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
1052 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
1053 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
1054 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
1055 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
1056 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
1057 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
1058 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
1059 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
1060 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
1061 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
1062 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
1063 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
1064 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
1065 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
1066 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
1067 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
1068 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
1069 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
1070 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
1071 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
1072 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
1073 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
1074 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
1075 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
1076 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
1077 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
1078 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
1079 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
1080 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
1081 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
1082 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
1083 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
1084 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
1085 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
1086 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
1087 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
1088 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
1089 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
1090 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
1091 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
1092 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
1093 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
1094 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
1095 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
1097 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
1099 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
1100 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
1101 * string/memmove.c (memmove): Renamed to ...
1102 (MEMMOVE): ...this. Default to memmove.
1103 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
1104 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
1106 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
1107 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
1108 mempcpy-ssse3-back memmove-ssse3-back.
1109 * sysdeps/x86_64/multiarch/bcopy.S: New file .
1110 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
1111 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
1112 * sysdeps/x86_64/multiarch/memcpy.S: New file.
1113 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
1114 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
1115 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
1116 * sysdeps/x86_64/multiarch/memmove.c: New file.
1117 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
1118 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
1119 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
1120 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
1121 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
1122 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
1124 (index_Fast_Copy_Backward): Define.
1125 (HAS_ARCH_FEATURE): Define.
1126 (HAS_FAST_REP_STRING): Define.
1127 (HAS_FAST_COPY_BACKWARD): Define.
1129 2010-06-21 Andreas Schwab <schwab@redhat.com>
1131 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
1132 Restore proper fallback handling.
1134 2010-06-19 Ulrich Drepper <drepper@redhat.com>
1137 * posix/group_member.c (__group_member): Correct checking loop.
1139 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
1140 OOM in getpwuid_r correctly. Return error number when the caller
1141 should return, otherwise -1.
1142 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
1143 call returning > 0 value.
1144 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
1146 2010-06-07 Andreas Schwab <schwab@redhat.com>
1148 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
1149 libc_nonshared.a from targets in modules-names.
1151 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
1153 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
1156 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
1158 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
1159 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
1160 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
1161 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
1163 2010-06-02 Andreas Schwab <schwab@redhat.com>
1165 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
1167 2010-06-14 Ulrich Drepper <drepper@redhat.com>
1169 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
1171 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
1172 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
1173 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
1174 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
1175 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
1176 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
1178 2010-06-14 Roland McGrath <roland@redhat.com>
1180 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
1182 2010-06-07 Jakub Jelinek <jakub@redhat.com>
1184 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
1185 __REDIRECT followed by __THROW.
1186 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
1187 * posix/getopt.h (getopt): Likewise.
1189 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
1191 * hurd/lookup-at.c (__file_name_lookup_at): Accept
1192 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
1193 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
1195 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
1196 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
1198 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
1200 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
1202 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
1205 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1206 Properly check family and model.
1208 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
1210 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
1212 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
1214 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
1216 2010-05-21 Ulrich Drepper <drepper@redhat.com>
1218 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
1221 2010-05-19 Andreas Schwab <schwab@redhat.com>
1223 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
1226 2010-05-21 Andreas Schwab <schwab@redhat.com>
1228 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
1229 and internal_recvmmsg.
1230 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
1231 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
1232 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
1233 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
1235 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
1236 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
1237 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
1239 2010-05-20 Andreas Schwab <schwab@redhat.com>
1241 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
1243 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
1245 POWER7 optimizations.
1246 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
1247 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
1249 2010-05-19 Ulrich Drepper <drepper@redhat.com>
1251 * version.h: Update for 2.13 development version.
1253 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
1255 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
1256 exceptions. Return 0.
1258 2010-05-07 Roland McGrath <roland@redhat.com>
1260 * elf/ldconfig.c (main): Add a const.
1262 2010-05-06 Ulrich Drepper <drepper@redhat.com>
1264 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
1265 (args_options): Add no-idn option.
1266 (ahosts_keys_int): Add idn_flags to ai_flags.
1267 (parse_option): Handle 'i' option to clear idn_flags.
1269 * malloc/malloc.c (_int_free): Possible race in the most recently
1270 added check. Only act on the data if no current modification
1273 See ChangeLog.17 for earlier changes.