1 2010-12-13 Andreas Schwab <schwab@redhat.com>
3 * version.h (VERSION): Bump for 2.12.2 release.
5 2010-12-10 Andreas Schwab <schwab@redhat.com>
7 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
10 2010-12-10 Andreas Schwab <schwab@redhat.com>
12 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
13 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
15 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
16 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
18 2010-12-09 Ulrich Drepper <drepper@gmail.com>
21 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
24 2010-12-09 Jakub Jelinek <jakub@redhat.com>
26 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
28 2010-08-11 Ulrich Drepper <drepper@redhat.com>
31 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
32 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
34 2010-08-21 Mike Frysinger <vapier@gentoo.org>
36 * configure.in: Move assembler checks to before sysdep dir checking.
38 2010-11-24 Andreas Schwab <schwab@redhat.com>
40 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
42 (gaih_getanswer_slice): Likewise.
44 2010-05-31 Petr Baudis <pasky@suse.cz>
47 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
48 silently even in the chroot mode.
50 2010-05-31 Petr Baudis <pasky@suse.cz>
53 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
54 initialization of skip_initgroups_dyn.
56 2010-09-27 Andreas Schwab <schwab@redhat.com>
59 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
60 Mask out sign-bit copies when constructing f_fsid.
62 2010-11-19 Ulrich Drepper <drepper@gmail.com>
64 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
65 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
67 2010-11-16 Ulrich Drepper <drepper@gmail.com>
69 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
71 2010-11-11 Andreas Schwab <schwab@redhat.com>
73 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
74 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
75 (tst-fnmatch-ENV): Set MALLOC_TRACE.
76 ($(objpfx)tst-fnmatch-mem): New rule.
77 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
78 * posix/tst-fnmatch.c (main): Call mtrace.
80 2010-08-09 Ulrich Drepper <drepper@redhat.com>
83 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
84 * posix/fnmatch_loop.c: Likewise.
86 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
88 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
91 2010-11-08 Ulrich Drepper <drepper@gmail.com>
94 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
95 * sysdeps/x86_64/bits/byteswap.h: Likewise.
97 2010-08-31 Mike Frysinger <vapier@gentoo.org>
99 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
100 (epoll_create1): Declare.
102 2010-09-06 Andreas Schwab <schwab@redhat.com>
104 * manual/Makefile: Don't mix pattern rules with normal rules.
106 2010-08-12 Andreas Schwab <schwab@redhat.com>
109 * locale/programs/locale.c (print_assignment): New function.
110 (show_locale_vars): Use it.
112 2010-10-26 Ulrich Drepper <drepper@gmail.com>
114 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
115 is added to the list.
117 2010-10-24 Ulrich Drepper <drepper@redhat.com>
120 * malloc/malloc.c (_int_free): Fill correct number of bytes when
123 2010-09-09 Andreas Schwab <schwab@redhat.com>
125 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
126 (sysd-rules-targets): Remove duplicates.
127 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
128 rtld-%.$o dependency.
130 2010-10-18 Andreas Schwab <schwab@redhat.com>
132 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
133 _dl_map_object do it.
135 2010-10-15 Andreas Schwab <schwab@redhat.com>
137 * scripts/data/localplt-s390-linux-gnu.data: New file.
138 * scripts/data/localplt-s390x-linux-gnu.data: New file.
140 2010-10-12 Ulrich Drepper <drepper@redhat.com>
143 * posix/regcomp.c (parse_branch): One more memory leak plugged.
144 * posix/bug-regex31.input: Add test case.
146 2010-10-11 Ulrich Drepper <drepper@gmail.com>
148 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
149 * posix/bug-regex31.input: New file.
152 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
153 (parse_sub_exp): Fix last change, use postorder.
155 2010-10-11 Ulrich Drepper <drepper@gmail.com>
157 * posix/bug-regex31.c: New file.
158 * posix/Makefile: Add rules to build and run bug-regex31.
160 2010-10-11 Ulrich Drepper <drepper@gmail.com>
162 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
165 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
167 2010-10-11 Ulrich Drepper <drepper@gmail.com>
170 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
173 2010-10-03 Ulrich Drepper <drepper@gmail.com>
176 * malloc/mcheck.c: Handle large requests.
178 2010-09-15 Joseph Myers <joseph@codesourcery.com>
180 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
181 implementing getdents64 using getdents syscall, set d_type if
182 __ASSUME_GETDENTS32_D_TYPE.
184 2010-09-14 Andreas Schwab <schwab@redhat.com>
186 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
187 variables after CHECK_SP call.
188 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
190 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
191 Ulrich Drepper <drepper@redhat.com>
194 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
195 (____longjmp_chk): Use %ebx for saving value across system call.
198 2010-08-31 Mike Frysinger <vapier@gentoo.org>
200 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
202 2010-08-31 Andreas Schwab <schwab@redhat.com>
205 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
206 shifting retval into place.
208 2010-09-14 Ulrich Drepper <drepper@redhat.com>
210 * resolv/res_init.c (__res_vinit): Count the default server we added.
212 2010-08-25 Ulrich Drepper <drepper@redhat.com>
215 * resolv/res_init.c (__res_vinit): When no server address at all
216 is given default to loopback.
218 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
220 * sysdeps/i386/elf/Makefile: New file.
222 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
224 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
225 when converting to ms.
227 2010-07-29 Roland McGrath <roland@redhat.com>
230 * manual/locale.texi (Yes-or-No Questions): Fix example code.
232 2010-07-27 Andreas Schwab <schwab@redhat.com>
234 * manual/memory.texi (Malloc Tunable Parameters): Document
237 2010-07-26 Roland McGrath <roland@redhat.com>
240 * configure.in (-fgnu89-inline check): Set and substitute
241 gnu89_inline, not libc_cv_gnu89_inline.
242 * configure: Regenerated.
243 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
245 2010-07-20 Roland McGrath <roland@redhat.com>
247 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
248 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
249 ld.so.cache was broken. With it, there is no way to disable dsocaps
250 like LD_HWCAP_MASK can disable hwcaps.
252 2010-07-05 Roland McGrath <roland@redhat.com>
254 * manual/arith.texi (Rounding Functions): Fix rint description
255 implicit in round description.
257 2010-07-02 Ulrich Drepper <drepper@redhat.com>
259 * elf/Makefile: Fix linking for a few tests to make recent linker
262 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
264 * hurd/lookup-at.c (__file_name_lookup_at): Accept
265 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
266 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
268 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
269 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
271 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
274 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
275 (__x86_64_raw_data_cache_size_half): Likewise.
276 (__x86_64_raw_shared_cache_size): Likewise.
277 (__x86_64_raw_shared_cache_size_half): Likewise.
279 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
280 (__x86_64_raw_data_cache_size_half): Likewise.
281 (__x86_64_raw_shared_cache_size): Likewise.
282 (__x86_64_raw_shared_cache_size_half): Likewise.
283 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
284 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
285 and __x86_64_raw_shared_cache_size_half. Round
286 __x86_64_data_cache_size_half, __x86_64_data_cache_size
287 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
288 to multiple of 256 bytes.
290 2010-11-03 Ulrich Drepper <drepper@gmail.com>
293 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
294 of inacessible symlinks. Verify result of symlink before returning it.
295 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
296 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
298 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
299 Ulrich Drepper <drepper@gmail.com>
301 * elf/dl-object.c (_dl_new_object): Don't append the new object to
302 the global list here. Move code to...
303 (_dl_add_to_namespace_list): ...here. New function.
304 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
305 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
306 * elf/dl-load.c (lose): Don't remove the element from the list.
307 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
308 (_dl_map_object): Likewise.
310 2010-10-25 Ulrich Drepper <drepper@redhat.com>
313 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
314 into all bytes of SSE register.
315 Patch by Richard Li <richardpku@gmail.com>.
317 2010-10-22 Andreas Schwab <schwab@redhat.com>
319 * include/dlfcn.h (__RTLD_SECURE): Define.
320 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
321 mode & __RTLD_SECURE instead.
322 (open_path): Rename preloaded parameter to secure.
323 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
324 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
325 * elf/dl-deps.c (openaux): Likewise.
326 * elf/rtld.c (struct map_args): Remove is_preloaded.
327 (map_doit): Don't use it.
329 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
330 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
332 2010-10-06 Ulrich Drepper <drepper@gmail.com>
334 * string/bug-strstr1.c: New file.
335 * string/Makefile: Add rules to build and run bug-strstr1.
337 2010-10-05 Eric Blake <eblake@redhat.com>
340 * string/str-two-way.h (two_way_long_needle): Always clear memory
341 when skipping input due to the shift table.
343 2010-10-03 Ulrich Drepper <drepper@gmail.com>
346 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
348 * string/stratcliff.c: Add tests for strcmp and strncmp.
349 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
351 2010-08-19 Andreas Schwab <schwab@redhat.com>
353 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
355 2010-08-06 Ulrich Drepper <drepper@redhat.com>
357 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
358 Also fail if tpwd after pwuid call is NULL.
360 2010-06-21 Andreas Schwab <schwab@redhat.com>
362 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
363 Restore proper fallback handling.
365 2010-06-19 Ulrich Drepper <drepper@redhat.com>
367 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
368 OOM in getpwuid_r correctly. Return error number when the caller
369 should return, otherwise -1.
370 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
371 call returning > 0 value.
372 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
374 2010-07-27 Andreas Schwab <schwab@redhat.com>
376 * version.h (VERSION): Bump for 2.12.1 release.
378 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
380 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
383 2010-06-02 Andreas Schwab <schwab@redhat.com>
385 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
387 2010-06-07 Jakub Jelinek <jakub@redhat.com>
389 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
390 __REDIRECT followed by __THROW.
391 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
392 * posix/getopt.h (getopt): Likewise.
394 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
397 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
398 Properly check family and model.
400 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
402 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
404 2010-05-21 Ulrich Drepper <drepper@redhat.com>
406 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
409 2010-05-19 Andreas Schwab <schwab@redhat.com>
411 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
414 2010-05-21 Andreas Schwab <schwab@redhat.com>
416 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
417 and internal_recvmmsg.
418 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
419 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
420 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
421 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
423 2010-05-21 Andreas Schwab <schwab@redhat.com>
425 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
426 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
427 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
429 2010-05-20 Andreas Schwab <schwab@redhat.com>
431 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
433 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
435 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
436 exceptions. Return 0.
438 2010-05-07 Roland McGrath <roland@redhat.com>
440 * elf/ldconfig.c (main): Add a const.
442 2010-05-06 Ulrich Drepper <drepper@redhat.com>
444 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
445 (args_options): Add no-idn option.
446 (ahosts_keys_int): Add idn_flags to ai_flags.
447 (parse_option): Handle 'i' option to clear idn_flags.
449 * malloc/malloc.c (_int_free): Possible race in the most recently
450 added check. Only act on the data if no current modification
453 See ChangeLog.17 for earlier changes.