kopensolaris-gnu/glibc.git
17 years agoUse libc_hidden_proto for __iswctype, __iswalnum_l,
drepper [Sun, 4 Aug 2002 09:19:15 +0000 (09:19 +0000)]
Use libc_hidden_proto for __iswctype, __iswalnum_l,
__iswalpha_l, __iswblank_l, __iswcntrl_l, __iswdigit_l, __iswlower_l,
__iswgraph_l, __iswprint_l, __iswpunct_l, __iswspace_l, __iswupper_l,
__iswxdigit_l, __towlower_l, __towupper_l.

17 years ago(__sysconf): Add libc_hidden_def.
drepper [Sun, 4 Aug 2002 09:16:33 +0000 (09:16 +0000)]
(__sysconf): Add libc_hidden_def.

17 years agoAdd libc_hidden_proto for __sysconf.
drepper [Sun, 4 Aug 2002 09:15:16 +0000 (09:15 +0000)]
Add libc_hidden_proto for __sysconf.

17 years ago(__strverscmp): Add libc_hidden_def.
drepper [Sun, 4 Aug 2002 09:14:35 +0000 (09:14 +0000)]
(__strverscmp): Add libc_hidden_def.

17 years agoAdd libc_hidden_proto for __strverscmp.
drepper [Sun, 4 Aug 2002 09:13:52 +0000 (09:13 +0000)]
Add libc_hidden_proto for __strverscmp.

17 years ago(__vfscanf): Add libc_hidden_def.
drepper [Sun, 4 Aug 2002 09:12:42 +0000 (09:12 +0000)]
(__vfscanf): Add libc_hidden_def.

17 years agoAdd libc_hidden_proto for __vfscanf.
drepper [Sun, 4 Aug 2002 09:11:53 +0000 (09:11 +0000)]
Add libc_hidden_proto for __vfscanf.

17 years ago(_obstack_newchunk): Add libc_hidden_def.
drepper [Sun, 4 Aug 2002 09:11:06 +0000 (09:11 +0000)]
(_obstack_newchunk): Add libc_hidden_def.

17 years agoAdd libc_hidden_proto for _obstack_newchunk.
drepper [Sun, 4 Aug 2002 09:10:50 +0000 (09:10 +0000)]
Add libc_hidden_proto for _obstack_newchunk.

17 years ago(__wunderflow): Add libc_hidden_def.
drepper [Sun, 4 Aug 2002 09:09:43 +0000 (09:09 +0000)]
(__wunderflow): Add libc_hidden_def.
(__wuflow): Likewise.

17 years ago(__underflow): Add libc_hidden_def.
drepper [Sun, 4 Aug 2002 09:08:55 +0000 (09:08 +0000)]
(__underflow): Add libc_hidden_def.

17 years agoAdd libc_hidden_proto for _dl_addr, _dl_open, _dl_close.
drepper [Sun, 4 Aug 2002 09:08:12 +0000 (09:08 +0000)]
Add libc_hidden_proto for _dl_addr, _dl_open, _dl_close.

17 years agoAdd libc_hidden_proto for _dl_addr, _dl_open, _dl_close.
drepper [Sun, 4 Aug 2002 09:07:27 +0000 (09:07 +0000)]
Add libc_hidden_proto for _dl_addr, _dl_open, _dl_close.

17 years agoAdd libc_hidden_def.
drepper [Sun, 4 Aug 2002 09:05:47 +0000 (09:05 +0000)]
Add libc_hidden_def.

17 years ago.
roland [Sun, 4 Aug 2002 03:50:21 +0000 (03:50 +0000)]
.

17 years ago2002-08-03 Roland McGrath <roland@redhat.com>
roland [Sun, 4 Aug 2002 03:50:12 +0000 (03:50 +0000)]
2002-08-03  Roland McGrath  <roland@redhat.com>

* include/fnmatch.h: Use libc_hidden_proto for fnmatch.
* posix/fnmatch.c: Add libc_hidden_weak.

17 years ago2002-08-03 Roland McGrath <roland@redhat.com>
roland [Sun, 4 Aug 2002 03:50:09 +0000 (03:50 +0000)]
2002-08-03  Roland McGrath  <roland@redhat.com>

* include/sys/resource.h: Use libc_hidden_proto for getpriority,
setpriority.
* sysdeps/unix/sysv/linux/getpriority.c: Add libc_hidden_def.
* sysdeps/unix/sysv/irix4/getpriority.c: Likewise.
* sysdeps/mach/hurd/setpriority.c: Likewise.
* sysdeps/mach/hurd/getpriority.c: Likewise.
* sysdeps/generic/setpriority.c: Likewise.
* sysdeps/generic/getpriority.c: Likewise.

17 years ago2002-08-03 Roland McGrath <roland@redhat.com>
roland [Sun, 4 Aug 2002 03:50:07 +0000 (03:50 +0000)]
2002-08-03  Roland McGrath  <roland@redhat.com>

* include/mcheck.h: Use libc_hidden_proto for mcheck_check_all.
* malloc/mcheck.c: Add libc_hidden_def.

17 years ago2002-08-03 Roland McGrath <roland@redhat.com>
roland [Sun, 4 Aug 2002 03:50:05 +0000 (03:50 +0000)]
2002-08-03  Roland McGrath  <roland@redhat.com>

* include/search.h: Use libc_hidden_proto for hcreate_r, hdestroy_r.
* misc/hsearch_r.c: Add libc_hidden_def.

17 years ago.
roland [Sun, 4 Aug 2002 03:30:56 +0000 (03:30 +0000)]
.

17 years ago2002-08-03 Roland McGrath <roland@redhat.com>
roland [Sun, 4 Aug 2002 03:30:46 +0000 (03:30 +0000)]
2002-08-03  Roland McGrath  <roland@redhat.com>

* include/langinfo.h: Use libc_hidden_proto for nl_langinfo.
* locale/nl_langinfo.c: Add libc_hidden_def.

17 years ago2002-08-03 Roland McGrath <roland@redhat.com>
roland [Sun, 4 Aug 2002 03:30:45 +0000 (03:30 +0000)]
2002-08-03  Roland McGrath  <roland@redhat.com>

* include/stdlib.h: Use libc_hidden_proto for ecvt_r, fcvt_r,
qecvt_r, qfcvt_r, lrand48_r.
* misc/efgcvt_r.c: Add libc_hidden_def.

17 years ago2002-08-03 Roland McGrath <roland@redhat.com>
roland [Sun, 4 Aug 2002 03:30:42 +0000 (03:30 +0000)]
2002-08-03  Roland McGrath  <roland@redhat.com>

* include/glob.h: Use libc_hidden_proto for glob, globfree, globfree64.
* sysdeps/generic/glob.c: Add libc_hidden_def.
* sysdeps/generic/glob64.c: Likewise.
* sysdeps/wordsize-64/glob.c (globfree64): Add libc_hidden_weak.

17 years ago2002-08-03 Roland McGrath <roland@redhat.com>
roland [Sun, 4 Aug 2002 03:30:39 +0000 (03:30 +0000)]
2002-08-03  Roland McGrath  <roland@redhat.com>

* include/unistd.h: Use libc_hidden_proto for _exit, alarm, confstr,
execl, execle, execlp, execvp, getpid, getsid.
* sysdeps/generic/alarm.c: Add libc_hidden_def.
* sysdeps/unix/alarm.c: Likewise.
* posix/confstr.c: Likewise.
* posix/execvp.c: Likewise.
* posix/execlp.c: Likewise.
* posix/execle.c: Likewise.
* posix/execl.c: Likewise.
* sysdeps/generic/getsid.c: Likewise.
* sysdeps/mach/hurd/getsid.c: Likewise.
* sysdeps/generic/getpid.c: Add libc_hidden_weak.
* sysdeps/mach/hurd/getpid.c: Likewise.

17 years ago2002-08-03 Roland McGrath <roland@redhat.com>
roland [Sun, 4 Aug 2002 03:30:36 +0000 (03:30 +0000)]
2002-08-03  Roland McGrath  <roland@redhat.com>

* include/wordexp.h: Use libc_hidden_proto for wordfree.
* sysdeps/generic/wordexp.c: Add libc_hidden_def.

17 years ago.
roland [Sun, 4 Aug 2002 03:25:23 +0000 (03:25 +0000)]
.

17 years ago2002-08-02 Roland McGrath <roland@redhat.com>
roland [Sun, 4 Aug 2002 03:25:12 +0000 (03:25 +0000)]
2002-08-02  Roland McGrath  <roland@redhat.com>

* sysdeps/pthread/bits/libc-tsd.h (enum __libc_tsd_key_t):
Add _LIBC_TSD_KEY_LOCALE.
* manager.c (pthread_start_thread) [!(USE_TLS && HAVE___THREAD)]:
Call __uselocale to initialize our per-thread locale pointer to
the global one.
* pthread.c (__pthread_initialize_minimal): Likewise.

17 years agoUpdate.
drepper [Sun, 4 Aug 2002 03:18:18 +0000 (03:18 +0000)]
Update.

17 years agoAdd _LIBC_TSD_KEY_LOCALE.
drepper [Sun, 4 Aug 2002 03:17:32 +0000 (03:17 +0000)]
Add _LIBC_TSD_KEY_LOCALE.

17 years ago.
roland [Sun, 4 Aug 2002 02:32:32 +0000 (02:32 +0000)]
.

17 years ago2002-08-03 Roland McGrath <roland@redhat.com>
roland [Sun, 4 Aug 2002 02:32:22 +0000 (02:32 +0000)]
2002-08-03  Roland McGrath  <roland@redhat.com>

* locale/nl_langinfo.c: Use _NL_CURRENT_DATA.

17 years ago2002-08-03 Roland McGrath <roland@redhat.com>
roland [Sun, 4 Aug 2002 02:32:21 +0000 (02:32 +0000)]
2002-08-03  Roland McGrath  <roland@redhat.com>

* elf/Makefile (CFLAGS-vismod2.c): New variable.

17 years ago.
roland [Sun, 4 Aug 2002 01:41:55 +0000 (01:41 +0000)]
.

17 years ago2002-08-03 Roland McGrath <roland@redhat.com>
roland [Sun, 4 Aug 2002 01:41:44 +0000 (01:41 +0000)]
2002-08-03  Roland McGrath  <roland@redhat.com>

* locale/localeinfo.h [SHARED]
(_NL_CURRENT_LOCALE): New macro, defined to fetch a tsd value.
(_NL_CURRENT_DATA): Define using that.
(_NL_CURRENT, _NL_CURRENT_WSTR, _NL_CURRENT_WORD): Define using that.
(_NL_CURRENT_DEFINE): Define to empty.
[! SHARED]: Decls of _nl_current_CATEGORY and _nl_current
conditionalized on this.
* locale/xlocale.c (NL_C_INTIIALIZER): New macro,
taking initializer of _nl_C_locobj.
[SHARED] (_nl_global_locale): New variable, using that initializer.
(_nl_C_locobj): Use new macro for initialzier.
* locale/setlocale.c [! SHARED] (_nl_current): Conditionalize on this.
[! SHARED] (CATEGORY_USED): New macro.
[SHARED] (CATEGORY_USED, _nl_C): New macros.
(setdata, setlocale): Use that macro instead of examining _nl_current.
(setdata): Set the slot in _nl_global_locale.
Conditionalize setting of _nl_current on [! SHARED].
* locale/findlocale.c [SHARED] (_nl_C): Define as a macro instead of
declaration as an extern.
* locale/newlocale.c (__newlocale): Use _nl_C_locobj instead of _nl_C.

17 years ago2002-08-03 Roland McGrath <roland@redhat.com>
roland [Sun, 4 Aug 2002 01:41:42 +0000 (01:41 +0000)]
2002-08-03  Roland McGrath  <roland@redhat.com>

* locale/setlocale.c (_nl_current_names): Variable moved ...
* locale/localename.c (_nl_current_names): ... here, new file.
Make it global, with attribute_hidden.
* locale/localeinfo.h: Declare it.
* locale/Makefile (aux): Add localename.
* locale/localename.c (__current_locale_name): New function.
* include/locale.h (__current_locale_name): Declare it.
* intl/dcigettext.c (guess_category_value): Use that instead of
calling setlocale.

17 years ago2002-08-03 Roland McGrath <roland@redhat.com>
roland [Sun, 4 Aug 2002 01:41:39 +0000 (01:41 +0000)]
2002-08-03  Roland McGrath  <roland@redhat.com>

* locale/setlocale.c (_nl_current_names): Variable moved ...
* locale/localename.c (_nl_current_names): ... here, new file.
Make it global, with attribute_hidden.
* locale/localeinfo.h: Declare it.
* locale/Makefile (aux): Add localename.
* locale/localename.c (__current_locale_name): New function.
* include/locale.h (__current_locale_name): Declare it.
* intl/dcigettext.c (guess_category_value): Use that instead of
calling setlocale.
* include/locale.h: Use libc_hidden_proto for setlocale.
* locale/setlocale.c: Add libc_hidden_def.

17 years ago2002-08-03 Roland McGrath <roland@redhat.com>
roland [Sun, 4 Aug 2002 01:41:38 +0000 (01:41 +0000)]
2002-08-03  Roland McGrath  <roland@redhat.com>

* locale/setlocale.c (_nl_current_names): Variable moved ...
* locale/localename.c (_nl_current_names): ... here, new file.
Make it global, with attribute_hidden.
* locale/localeinfo.h: Declare it.
* locale/Makefile (aux): Add localename.
* locale/localename.c (__current_locale_name): New function.
* include/locale.h (__current_locale_name): Declare it.
* intl/dcigettext.c (guess_category_value): Use that instead of
calling setlocale.
* locale/locale.h [__USE_GNU] (locale_t): New type alias of __locale_t.
[__USE_GNU] (newlocale, duplocale, freelocale, uselocale): New decls.
[__USE_GNU] (LC_GLOBAL_LOCALE): New macro.
* locale/newlocale.c: Add alias to __ name.
* locale/duplocale.c: Likewise.
* locale/freelocale.c: Likewise.
* locale/uselocale.c: New file.
* locale/Makefile (routines): Add it.
* locale/Versions (libc: GLIBC_2.3): New set.
Add newlocale, duplocale, freelocale, uselocale.
(libc: GLIBC_PRIVATE): Add __uselocale.

17 years ago2002-08-03 Roland McGrath <roland@redhat.com>
roland [Sun, 4 Aug 2002 01:41:37 +0000 (01:41 +0000)]
2002-08-03  Roland McGrath  <roland@redhat.com>

* locale/setlocale.c (_nl_current_names): Variable moved ...
* locale/localename.c (_nl_current_names): ... here, new file.
Make it global, with attribute_hidden.
* locale/localeinfo.h: Declare it.
* locale/Makefile (aux): Add localename.
* locale/localename.c (__current_locale_name): New function.
* include/locale.h (__current_locale_name): Declare it.
* intl/dcigettext.c (guess_category_value): Use that instead of
calling setlocale.
* locale/localeinfo.h [SHARED]
(_NL_CURRENT_LOCALE): New macro, defined to fetch a tsd value.
(_NL_CURRENT_DATA): Define using that.
(_NL_CURRENT, _NL_CURRENT_WSTR, _NL_CURRENT_WORD): Define using that.
(_NL_CURRENT_DEFINE): Define to empty.
[! SHARED]: Decls of _nl_current_CATEGORY and _nl_current
conditionalized on this.
* locale/xlocale.c (NL_C_INTIIALIZER): New macro,
taking initializer of _nl_C_locobj.
[SHARED] (_nl_global_locale): New variable, using that initializer.
(_nl_C_locobj): Use new macro for initialzier.
* locale/setlocale.c [! SHARED] (_nl_current): Conditionalize on this.
[! SHARED] (CATEGORY_USED): New macro.
[SHARED] (CATEGORY_USED, _nl_C): New macros.
(setdata, setlocale): Use that macro instead of examining _nl_current.
(setdata): Set the slot in _nl_global_locale.
Conditionalize setting of _nl_current on [! SHARED].
* locale/findlocale.c [SHARED] (_nl_C): Define as a macro instead of
declaration as an extern.
* locale/newlocale.c (__newlocale): Use _nl_C_locobj instead of _nl_C.

17 years ago2002-08-03 Roland McGrath <roland@redhat.com>
roland [Sun, 4 Aug 2002 01:41:35 +0000 (01:41 +0000)]
2002-08-03  Roland McGrath  <roland@redhat.com>

* locale/locale.h [__USE_GNU] (locale_t): New type alias of __locale_t.
[__USE_GNU] (newlocale, duplocale, freelocale, uselocale): New decls.
[__USE_GNU] (LC_GLOBAL_LOCALE): New macro.
* locale/newlocale.c: Add alias to __ name.
* locale/duplocale.c: Likewise.
* locale/freelocale.c: Likewise.
* locale/uselocale.c: New file.
* locale/Makefile (routines): Add it.
* locale/Versions (libc: GLIBC_2.3): New set.
Add newlocale, duplocale, freelocale, uselocale.
(libc: GLIBC_PRIVATE): Add __uselocale.
* locale/localeinfo.h [SHARED]
(_NL_CURRENT_LOCALE): New macro, defined to fetch a tsd value.
(_NL_CURRENT_DATA): Define using that.
(_NL_CURRENT, _NL_CURRENT_WSTR, _NL_CURRENT_WORD): Define using that.
(_NL_CURRENT_DEFINE): Define to empty.
[! SHARED]: Decls of _nl_current_CATEGORY and _nl_current
conditionalized on this.
* locale/xlocale.c (NL_C_INTIIALIZER): New macro,
taking initializer of _nl_C_locobj.
[SHARED] (_nl_global_locale): New variable, using that initializer.
(_nl_C_locobj): Use new macro for initialzier.
* locale/setlocale.c [! SHARED] (_nl_current): Conditionalize on this.
[! SHARED] (CATEGORY_USED): New macro.
[SHARED] (CATEGORY_USED, _nl_C): New macros.
(setdata, setlocale): Use that macro instead of examining _nl_current.
(setdata): Set the slot in _nl_global_locale.
Conditionalize setting of _nl_current on [! SHARED].
* locale/findlocale.c [SHARED] (_nl_C): Define as a macro instead of
declaration as an extern.
* locale/newlocale.c (__newlocale): Use _nl_C_locobj instead of _nl_C.

17 years ago2002-08-03 Roland McGrath <roland@redhat.com>
roland [Sun, 4 Aug 2002 01:41:34 +0000 (01:41 +0000)]
2002-08-03  Roland McGrath  <roland@redhat.com>

* locale/setlocale.c (_nl_current_names): Variable moved ...
* locale/localename.c (_nl_current_names): ... here, new file.
Make it global, with attribute_hidden.
* locale/localeinfo.h: Declare it.
* locale/Makefile (aux): Add localename.
* locale/localename.c (__current_locale_name): New function.
* include/locale.h (__current_locale_name): Declare it.
* intl/dcigettext.c (guess_category_value): Use that instead of
calling setlocale.
* locale/localeinfo.h [SHARED]
(_NL_CURRENT_LOCALE): New macro, defined to fetch a tsd value.
(_NL_CURRENT_DATA): Define using that.
(_NL_CURRENT, _NL_CURRENT_WSTR, _NL_CURRENT_WORD): Define using that.
(_NL_CURRENT_DEFINE): Define to empty.
[! SHARED]: Decls of _nl_current_CATEGORY and _nl_current
conditionalized on this.
* locale/xlocale.c (NL_C_INTIIALIZER): New macro,
taking initializer of _nl_C_locobj.
[SHARED] (_nl_global_locale): New variable, using that initializer.
(_nl_C_locobj): Use new macro for initialzier.
* locale/setlocale.c [! SHARED] (_nl_current): Conditionalize on this.
[! SHARED] (CATEGORY_USED): New macro.
[SHARED] (CATEGORY_USED, _nl_C): New macros.
(setdata, setlocale): Use that macro instead of examining _nl_current.
(setdata): Set the slot in _nl_global_locale.
Conditionalize setting of _nl_current on [! SHARED].
* locale/findlocale.c [SHARED] (_nl_C): Define as a macro instead of
declaration as an extern.
* locale/newlocale.c (__newlocale): Use _nl_C_locobj instead of _nl_C.
* include/locale.h: Use libc_hidden_proto for setlocale.
* locale/setlocale.c: Add libc_hidden_def.
* locale/setlocale.c (free_mem): Use _NL_CURRENT_DATA.

17 years ago2002-08-03 Roland McGrath <roland@redhat.com>
roland [Sun, 4 Aug 2002 01:41:32 +0000 (01:41 +0000)]
2002-08-03  Roland McGrath  <roland@redhat.com>

* locale/locale.h [__USE_GNU] (locale_t): New type alias of __locale_t.
[__USE_GNU] (newlocale, duplocale, freelocale, uselocale): New decls.
[__USE_GNU] (LC_GLOBAL_LOCALE): New macro.
* locale/newlocale.c: Add alias to __ name.
* locale/duplocale.c: Likewise.
* locale/freelocale.c: Likewise.
* locale/uselocale.c: New file.
* locale/Makefile (routines): Add it.
* locale/Versions (libc: GLIBC_2.3): New set.
Add newlocale, duplocale, freelocale, uselocale.
(libc: GLIBC_PRIVATE): Add __uselocale.

17 years ago.
roland [Sun, 4 Aug 2002 01:29:29 +0000 (01:29 +0000)]
.

17 years ago2002-08-03 Roland McGrath <roland@redhat.com>
roland [Sun, 4 Aug 2002 01:28:22 +0000 (01:28 +0000)]
2002-08-03  Roland McGrath  <roland@redhat.com>

* include/mcheck.h: Use libc_hidden_proto for mcheck.
* malloc/mcheck.c: Add libc_hidden_def.

17 years ago2002-08-03 Roland McGrath <roland@redhat.com>
roland [Sun, 4 Aug 2002 01:28:19 +0000 (01:28 +0000)]
2002-08-03  Roland McGrath  <roland@redhat.com>

* include/stdlib.h: Use libc_hidden_proto for abort,
__strtof_internal, __strtod_internal, __strtold_internal,
__strtol_internal, __strtoll_internal, __strtoul_internal,
__strtoull_internal. __strtof_l_internal, __strtod_l_internal,
__strtold_l_internal, __strtol_l_internal, __strtoll_l_internal,
__strtoul_l_internal, __strtoull_l_internal.
* include/wchar.h: Use libc_hidden_proto for __wcstof_internal,
__wcstod_internal, __wcstold_internal, __wcstol_internal,
__wcstoll_internal, __wcstoul_internal, ____wcstof_l_internal,
____wcstod_l_internal, ____wcstold_l_internal, ____wcstol_l_internal,
____wcstoll_l_internal, ____wcstoul_l_internal, __wcscasecmp_l,
__wcsncasecmp_l.
* sysdeps/generic/abort.c: Add libc_hidden_def.
* stdlib/strtod.c: Likewise.
* sysdeps/generic/strtol.c: Likewise.
* sysdeps/wordsize-64/strtol.c: Likewise.
* sysdeps/wordsize-64/wcstol.c: Likewise.
* sysdeps/wordsize-64/wcstol_l.c: Likewise.

17 years ago2002-08-03 Roland McGrath <roland@redhat.com>
roland [Sun, 4 Aug 2002 01:28:15 +0000 (01:28 +0000)]
2002-08-03  Roland McGrath  <roland@redhat.com>

* include/search.h: Use libc_hidden_proto for hsearch_r, lfind.
* misc/hsearch_r.c: Add libc_hidden_def.
* misc/lsearch.c: Likewise.

17 years ago2002-08-03 Roland McGrath <roland@redhat.com>
roland [Sun, 4 Aug 2002 01:28:13 +0000 (01:28 +0000)]
2002-08-03  Roland McGrath  <roland@redhat.com>

* include/ttyent.h: Use libc_hidden_proto for getttyent, setttyent,
endttyent.
* misc/getttyent.c: Add libc_hidden_def.

17 years ago2002-08-03 Roland McGrath <roland@redhat.com>
roland [Sun, 4 Aug 2002 01:28:09 +0000 (01:28 +0000)]
2002-08-03  Roland McGrath  <roland@redhat.com>

* sysdeps/unix/sysv/linux/x86_64/clone.S (thread_start): Use
HIDDEN_JUMPTARGET for _exit.
* sysdeps/unix/sysv/linux/m68k/clone.S (thread_start): Likewise.
* sysdeps/unix/sysv/linux/i386/clone.S (thread_start): Likewise.
* sysdeps/unix/sysv/linux/powerpc/clone.S: Likewise.
* sysdeps/unix/_exit.S (_exit): Add libc_hidden_def.

17 years agoUpdate.
drepper [Sun, 4 Aug 2002 01:28:09 +0000 (01:28 +0000)]
Update.

17 years ago2002-08-03 Roland McGrath <roland@redhat.com>
roland [Sun, 4 Aug 2002 01:28:06 +0000 (01:28 +0000)]
2002-08-03  Roland McGrath  <roland@redhat.com>

* include/envz.h: Use libc_hidden_proto for envz_entry, enz_remove.
* include/argz.h: Use libc_hidden_proto for argz_delete.
* string/argz-delete.c: Add libc_hidden_def.
* string/envz.c: Likewise.  Use <envz.h>, not "envz.h".

17 years ago2002-08-03 Roland McGrath <roland@redhat.com>
roland [Sun, 4 Aug 2002 01:28:03 +0000 (01:28 +0000)]
2002-08-03  Roland McGrath  <roland@redhat.com>

* include/libc-symbols.h: Fix [__ASSEMBLY__] -> [__ASSEMBLER__].
[__ASSEMBLER__] (hidden_weak): Define using hidden_def, or to empty.
[__ASSEMBLER__] (HIDDEN_JUMPTARGET): New macro.
* sysdeps/unix/sysv/linux/i386/makecontext.S: Use it for exit.

17 years ago(__stpcpy): Add libc_hidden_def.
drepper [Sun, 4 Aug 2002 01:22:10 +0000 (01:22 +0000)]
(__stpcpy): Add libc_hidden_def.

17 years ago(__stpcpy): Add libc_hidden_def.
drepper [Sun, 4 Aug 2002 01:19:04 +0000 (01:19 +0000)]
(__stpcpy): Add libc_hidden_def.

17 years ago.
roland [Sat, 3 Aug 2002 22:46:42 +0000 (22:46 +0000)]
.

17 years ago2002-08-03 Roland McGrath <roland@redhat.com>
roland [Sat, 3 Aug 2002 22:46:06 +0000 (22:46 +0000)]
2002-08-03  Roland McGrath  <roland@redhat.com>

* include/signal.h: Use libc_hidden_proto for raise, sigemptyset,
sigfillset, sigismember, __sigpause, __libc_current_sigrtmin,
and __libc_current_sigrtmax.
* signal/sigismem.c: Add libc_hidden_def.
* signal/sigfillset.c: Likewise.
* signal/sigempty.c: Likewise.
* sysdeps/generic/sigpause.c (__sigpause): Likewise.
* sysdeps/posix/sigpause.c (__sigpause): Likewise.
* sysdeps/unix/bsd/osf/alpha/sigpause.S: Likewise.
* sysdeps/posix/raise.c: Likewise.
* sysdeps/generic/raise.c: Likewise.

17 years ago.
roland [Sat, 3 Aug 2002 22:26:33 +0000 (22:26 +0000)]
.

17 years ago2002-08-03 Roland McGrath <roland@redhat.com>
roland [Sat, 3 Aug 2002 22:26:15 +0000 (22:26 +0000)]
2002-08-03  Roland McGrath  <roland@redhat.com>

* include/stdlib.h: Use libc_hidden_proto for qsort.
* stdlib/msort.c: Add libc_hidden_def.

17 years ago2002-08-03 Roland McGrath <roland@redhat.com>
roland [Sat, 3 Aug 2002 22:26:13 +0000 (22:26 +0000)]
2002-08-03  Roland McGrath  <roland@redhat.com>

* include/utime.h: Use libc_hidden_proto for utime.
* sysdeps/generic/utime.c: Add libc_hidden_def.
* sysdeps/unix/utime.c: Likewise.

17 years ago2002-08-03 Roland McGrath <roland@redhat.com>
roland [Sat, 3 Aug 2002 22:26:10 +0000 (22:26 +0000)]
2002-08-03  Roland McGrath  <roland@redhat.com>

* sysdeps/generic/utmp_file.c (LOCK_FILE): sigemptyset -> __sigemptyset
* sysdeps/posix/profil.c (__profil): sigfillset -> __sigfillset
* sysdeps/posix/sprofil.c (__sprofil): Likewise.
* shadow/lckpwdf.c (__lckpwdf): Likewise (both).
* sysdeps/posix/spawni.c (__spawni): sigismember -> __sigismember

17 years ago2002-08-03 Roland McGrath <roland@redhat.com>
roland [Sat, 3 Aug 2002 22:26:01 +0000 (22:26 +0000)]
2002-08-03  Roland McGrath  <roland@redhat.com>

* include/signal.h: Use libc_hidden_proto for raise, sigemptyset,
sigfillset, sigismember, __sigpause, __libc_current_sigrtmin,
and __libc_current_sigrtmax.
* signal/sigismem.c: Add libc_hidden_def.
* signal/sigfillset.c: Likewise.
* signal/sigempty.c: Likewise.
* sysdeps/generic/sigpause.c (__sigpause): Likewise.
* sysdeps/posix/sigpause.c (__sigpause): Likewise.
* sysdeps/unix/bsd/osf/alpha/sigpause.S: Likewise.

17 years agoUpdate.
drepper [Sat, 3 Aug 2002 21:19:56 +0000 (21:19 +0000)]
Update.

17 years agoUse libc_hidden_proto for __strcasecmp_l, __strncasecmp_l, __strdup,
drepper [Sat, 3 Aug 2002 21:17:19 +0000 (21:17 +0000)]
Use libc_hidden_proto for __strcasecmp_l, __strncasecmp_l, __strdup,
__strndup, __strerror_r.

17 years ago(__strncasecmp_l): Add libc_hidden_def.
drepper [Sat, 3 Aug 2002 21:16:03 +0000 (21:16 +0000)]
(__strncasecmp_l): Add libc_hidden_def.

17 years ago(__strerror_r): Add libc_hidden_def.
drepper [Sat, 3 Aug 2002 21:15:49 +0000 (21:15 +0000)]
(__strerror_r): Add libc_hidden_def.

17 years ago(__strndup): Add libc_hidden_def.
drepper [Sat, 3 Aug 2002 21:14:18 +0000 (21:14 +0000)]
(__strndup): Add libc_hidden_def.

17 years ago(__strdup): Add libc_hidden_def.
drepper [Sat, 3 Aug 2002 21:14:01 +0000 (21:14 +0000)]
(__strdup): Add libc_hidden_def.

17 years ago(__strcasecmp_l): Add libc_hidden_def.
drepper [Sat, 3 Aug 2002 20:09:05 +0000 (20:09 +0000)]
(__strcasecmp_l): Add libc_hidden_def.

17 years agoUpdate.
drepper [Sat, 3 Aug 2002 19:46:32 +0000 (19:46 +0000)]
Update.

17 years agoRemove all __GI_* aliases.
drepper [Sat, 3 Aug 2002 19:44:41 +0000 (19:44 +0000)]
Remove all __GI_* aliases.

17 years ago(__sbrk): Add libc_hidden_proto.
drepper [Sat, 3 Aug 2002 19:43:06 +0000 (19:43 +0000)]
(__sbrk): Add libc_hidden_proto.

17 years ago#include <libio.h>, not "libio.h".
drepper [Sat, 3 Aug 2002 19:42:44 +0000 (19:42 +0000)]
#include <libio.h>, not "libio.h".

17 years ago(__overflow, __woverflow): Remove libc_hidden_proto.
drepper [Sat, 3 Aug 2002 19:42:28 +0000 (19:42 +0000)]
(__overflow, __woverflow): Remove libc_hidden_proto.

17 years agoWrapper around libio.h header.
drepper [Sat, 3 Aug 2002 19:41:53 +0000 (19:41 +0000)]
Wrapper around libio.h header.

17 years agoUpdate.
drepper [Sat, 3 Aug 2002 18:59:41 +0000 (18:59 +0000)]
Update.

17 years ago(public_cALLOc): Only divide if at least one of arguments is big
drepper [Sat, 3 Aug 2002 18:57:39 +0000 (18:57 +0000)]
(public_cALLOc): Only divide if at least one of arguments is big
enough to cause an overflow.

17 years agoUpdate.
drepper [Sat, 3 Aug 2002 18:43:13 +0000 (18:43 +0000)]
Update.

17 years agoUse hidden_def not INTDEF.
drepper [Sat, 3 Aug 2002 18:40:54 +0000 (18:40 +0000)]
Use hidden_def not INTDEF.

17 years agoOptimize if HAVE_BROKEN_ALIAS_ATTRIBUTE is not defined.
drepper [Sat, 3 Aug 2002 18:40:18 +0000 (18:40 +0000)]
Optimize if HAVE_BROKEN_ALIAS_ATTRIBUTE is not defined.

17 years ago.
roland [Sat, 3 Aug 2002 12:59:33 +0000 (12:59 +0000)]
.

17 years ago2002-08-03 Roland McGrath <roland@redhat.com>
roland [Sat, 3 Aug 2002 12:59:00 +0000 (12:59 +0000)]
2002-08-03  Roland McGrath  <roland@redhat.com>

* include/sys/syslog.h: Use libc_hidden_proto for syslog, vsyslog.
* include/err.h: Use libc_hidden_proto for warn, warnx, vwarn, vwarn,
verr, verrx.
* include/stdlib.h: Use libc_hidden_proto for exit, getenv, bsearch.
* misc/syslog.c: Add libc_hidden_def.
* misc/err.c: Likewise.
* stdlib/exit.c: Likewise.
* stdlib/bsearch.c: Likewise.
* sysdeps/generic/getenv.c: Likewise.

17 years ago.
roland [Sat, 3 Aug 2002 12:09:37 +0000 (12:09 +0000)]
.

17 years ago2002-08-03 Roland McGrath <roland@redhat.com>
roland [Sat, 3 Aug 2002 12:08:54 +0000 (12:08 +0000)]
2002-08-03  Roland McGrath  <roland@redhat.com>

* include/time.h: Use libc_hidden_proto for time, asctime, mktime,
timelocal, localtime, strftime.
* time/asctime.c: Add libc_hidden_def.
* time/mktime.c: Likewise.
* time/localtime.c: Likewise.
* time/strftime.c: Likewise.
* time/strptime.c: Likewise.
* sysdeps/generic/time.c: Likewise.
* sysdeps/unix/time.c: Likewise.
* sysdeps/unix/sysv/i386/time.S: Likewise.
* sysdeps/unix/sysv/linux/x86_64/time.S: Likewise.

17 years ago2002-08-03 Roland McGrath <roland@redhat.com>
roland [Sat, 3 Aug 2002 12:08:51 +0000 (12:08 +0000)]
2002-08-03  Roland McGrath  <roland@redhat.com>

* include/libc-symbols.h (hidden_weak): Define it for [__ASSEMBLER__].
* include/libc-symbols.h: Remove `defined HAVE_BROKEN_ALIAS_ATTRIBUTE'
clauses from conditionals for now.  Will have to be fixed later
for older compilers.

17 years ago2002-08-03 Roland McGrath <roland@redhat.com>
roland [Sat, 3 Aug 2002 12:08:49 +0000 (12:08 +0000)]
2002-08-03  Roland McGrath  <roland@redhat.com>

* sysdeps/unix/make-syscalls.sh: Generate libc_hidden_def or
libc_hidden_weak for every system call symbol defined.

17 years ago2002-08-03 Roland McGrath <roland@redhat.com>
roland [Sat, 3 Aug 2002 12:08:47 +0000 (12:08 +0000)]
2002-08-03  Roland McGrath  <roland@redhat.com>

* include/arpa/inet.h: Use libc_hidden_proto for inet_ntop, inet_pton.
inet_makeaddr, inet_netof, inet_addr, __inet_addr.
* resolv/inet_ntop.c: Likewise.
* resolv/inet_pton.c: Likewise.
* inet/inet_mkadr.c: Add libc_hidden_def.
* inet/inet_netof.c: Likewise.
* resolv/inet_addr.c: Likewise.

17 years ago.
roland [Sat, 3 Aug 2002 08:42:47 +0000 (08:42 +0000)]
.

17 years ago2002-08-03 Roland McGrath <roland@redhat.com>
roland [Sat, 3 Aug 2002 08:42:02 +0000 (08:42 +0000)]
2002-08-03  Roland McGrath  <roland@redhat.com>

* sysdeps/generic/mempcpy.c (__mempcpy): #undef it before defn.

17 years agoUpdate.
drepper [Sat, 3 Aug 2002 07:02:10 +0000 (07:02 +0000)]
Update.

17 years agoRemove undef. Replace INTDEF with libc_hidden_def.
drepper [Sat, 3 Aug 2002 06:59:52 +0000 (06:59 +0000)]
Remove undef.  Replace INTDEF with libc_hidden_def.

17 years agoAdd __GI_ aliases.
drepper [Sat, 3 Aug 2002 06:58:52 +0000 (06:58 +0000)]
Add __GI_ aliases.

17 years agoAdd libc_hidden_def. Remove undef and INTDEF.
drepper [Sat, 3 Aug 2002 06:57:47 +0000 (06:57 +0000)]
Add libc_hidden_def.  Remove undef and INTDEF.

17 years ago(__libc_write): Add libc_hidden_def. Remove undef and INTDEF.
drepper [Sat, 3 Aug 2002 06:54:54 +0000 (06:54 +0000)]
(__libc_write): Add libc_hidden_def.  Remove undef and INTDEF.
(__write): Add libc_hidden_weak.  Remove undef and INTDEF.

17 years ago(__statfs): Add libc_hidden_weak.
drepper [Sat, 3 Aug 2002 06:54:31 +0000 (06:54 +0000)]
(__statfs): Add libc_hidden_weak.

17 years ago(__sigsuspend): Add libc_hidden_weak.
drepper [Sat, 3 Aug 2002 06:54:20 +0000 (06:54 +0000)]
(__sigsuspend): Add libc_hidden_weak.

17 years ago(__sigaction): Add libc_hidden_weak.
drepper [Sat, 3 Aug 2002 06:54:03 +0000 (06:54 +0000)]
(__sigaction): Add libc_hidden_weak.

17 years ago(__setpgid): Add libc_hidden_weak.
drepper [Sat, 3 Aug 2002 06:53:49 +0000 (06:53 +0000)]
(__setpgid): Add libc_hidden_weak.

17 years ago(__send): Add libc_hidden_weak.
drepper [Sat, 3 Aug 2002 06:53:36 +0000 (06:53 +0000)]
(__send): Add libc_hidden_weak.

17 years ago(__select): Add libc_hidden_weak.
drepper [Sat, 3 Aug 2002 06:53:24 +0000 (06:53 +0000)]
(__select): Add libc_hidden_weak.

17 years ago(__sbrk): Add libc_hidden_weak.
drepper [Sat, 3 Aug 2002 06:53:14 +0000 (06:53 +0000)]
(__sbrk): Add libc_hidden_weak.

17 years ago(__read): Add libc_hidden_weak.
drepper [Sat, 3 Aug 2002 06:53:03 +0000 (06:53 +0000)]
(__read): Add libc_hidden_weak.
(__libc_read): Likewise.

17 years ago(__pwrite64): Add libc_hidden_weak
drepper [Sat, 3 Aug 2002 06:52:33 +0000 (06:52 +0000)]
(__pwrite64): Add libc_hidden_weak
(__libc_pwrite64): Add libc_hidden_def.