From: Ulrich Drepper Date: Mon, 24 Sep 2001 16:59:22 +0000 (+0000) Subject: Update. X-Git-Tag: upstream/2.30~22443 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=8db6604d862909a10643e051f73795cbdaa1a8d5;p=external%2Fglibc.git Update. 2001-09-24 Ulrich Drepper * wcsmbs/wchar.h: Add __attribute_pure__ to mbsinit prototype. (load_shobj): Call dlopen with `RTLD_LAZY | __RTLD_SPROF'. --- diff --git a/ChangeLog b/ChangeLog index bf3bc78..091ff7f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,10 +1,14 @@ +2001-09-24 Ulrich Drepper + + * wcsmbs/wchar.h: Add __attribute_pure__ to mbsinit prototype. + 2001-09-20 H.J. Lu * include/dlfcn.h (__RTLD_SPROF): New definiton. * elf/dl-open.c (dl_open_worker): Return immediately after loading for __RTLD_SPROF. * elf/sprof.c (main): Default to the filename if soname doesn't exist. - (load_shobj): Call dlopen with `RTLD_LAZY | __RTLD_SPROF. + (load_shobj): Call dlopen with `RTLD_LAZY | __RTLD_SPROF'. 2001-09-20 H.J. Lu diff --git a/wcsmbs/wchar.h b/wcsmbs/wchar.h index b7b63ba..e8aae7a 100644 --- a/wcsmbs/wchar.h +++ b/wcsmbs/wchar.h @@ -266,7 +266,7 @@ extern int wctob (wint_t __c) __THROW; /* Determine whether PS points to an object representing the initial state. */ -extern int mbsinit (__const mbstate_t *__ps) __THROW; +extern int mbsinit (__const mbstate_t *__ps) __THROW __attribute_pure__; /* Write wide character representation of multibyte character pointed to by S to PWC. */