kopensolaris-gnu/glibc.git
17 years ago2002-08-25 Roland McGrath <roland@redhat.com>
roland [Sun, 25 Aug 2002 20:14:33 +0000 (20:14 +0000)]
2002-08-25  Roland McGrath  <roland@redhat.com>

* sysdeps/generic/ldsodefs.h: Add attribute_hidden to *_internal decls.
(_dl_setup_hash): Add attribute_hidden.
(_dl_sysdep_start, _dl_sysdep_start_cleanup): Likewise.
(_dl_sysdep_read_whole_file, _dl_dprintf): Likewise.
(_dl_new_object, _dl_map_object_deps): Likewise.
(_dl_map_object_deps_internal): Remove decl.
* elf/rtld.c (__mempcpy, _exit): Redeclare locally as hidden.

17 years ago2002-08-25 Roland McGrath <roland@redhat.com>
roland [Sun, 25 Aug 2002 20:14:29 +0000 (20:14 +0000)]
2002-08-25  Roland McGrath  <roland@redhat.com>

* sysdeps/generic/utmp_file.c (UNLOCK_FILE): Clear alarm before
resetting handler, to avoid the possibility of a spurious SIGALRM
delivered to the user's handler.
Reported by Amit D. Chaudhary <amitc@brocade.com>,

17 years ago2002-08-25 Roland McGrath <roland@redhat.com>
roland [Sun, 25 Aug 2002 20:14:27 +0000 (20:14 +0000)]
2002-08-25  Roland McGrath  <roland@redhat.com>

* sysdeps/i386/dl-machine.h [PI_STATIC_AND_HIDDEN
&& HAVE_VISIBILITY_ATTRIBUTE && HAVE_HIDDEN
&& !HAVE_BROKEN_VISIBILITY_ATTRIBUTE]
(elf_machine_dynamic, elf_machine_load_address): Rewritten without asm,
instead relying on the compiler to produce only GOTOFF variable refs.

17 years ago2002-08-25 Roland McGrath <roland@redhat.com>
roland [Sun, 25 Aug 2002 20:14:26 +0000 (20:14 +0000)]
2002-08-25  Roland McGrath  <roland@redhat.com>

* misc/Makefile (CFLAGS-init-misc.c): Varaible removed.  It served to
set -fkeep-inline-functions, which is not needed for the current file.

17 years agoUpdate.
drepper [Sun, 25 Aug 2002 19:34:42 +0000 (19:34 +0000)]
Update.

17 years ago(thread_func): Make the compiler happy by adding a return statement
drepper [Sun, 25 Aug 2002 19:33:12 +0000 (19:33 +0000)]
(thread_func): Make the compiler happy by adding a return statement
which will never be reached.

17 years agoUpdate.
drepper [Sun, 25 Aug 2002 19:06:27 +0000 (19:06 +0000)]
Update.

17 years agoFix typo in comment. Add a few more __builtin_expect.
drepper [Sun, 25 Aug 2002 19:01:29 +0000 (19:01 +0000)]
Fix typo in comment.  Add a few more __builtin_expect.

17 years ago(Consistency Checking): assert_perror does nothing if NDEBUG is defined.
drepper [Sun, 25 Aug 2002 17:54:49 +0000 (17:54 +0000)]
(Consistency Checking): assert_perror does nothing if NDEBUG is defined.

17 years agoUpdate.
drepper [Sun, 25 Aug 2002 09:44:37 +0000 (09:44 +0000)]
Update.

17 years ago(_dl_cache_libcmp): Define as static inline to avoid defining it in
drepper [Sun, 25 Aug 2002 09:28:34 +0000 (09:28 +0000)]
(_dl_cache_libcmp): Define as static inline to avoid defining it in
every file which includes this header.

17 years agoUpdate.
drepper [Sun, 25 Aug 2002 09:02:59 +0000 (09:02 +0000)]
Update.

17 years agoAlso test for HAVE_VISIBILITY_ATTRIBUTE before defining DONT_USE_BOOTSTRAP_MAP.
drepper [Sun, 25 Aug 2002 09:00:41 +0000 (09:00 +0000)]
Also test for HAVE_VISIBILITY_ATTRIBUTE before defining DONT_USE_BOOTSTRAP_MAP.

17 years agoUpdate.
drepper [Sun, 25 Aug 2002 08:44:43 +0000 (08:44 +0000)]
Update.

17 years agoUpdate.
drepper [Sun, 25 Aug 2002 08:42:12 +0000 (08:42 +0000)]
Update.

17 years ago(main): Cast to long before casting to pointer.
drepper [Sun, 25 Aug 2002 08:41:09 +0000 (08:41 +0000)]
(main): Cast to long before casting to pointer.

17 years ago(main): Use correct format string.
drepper [Sun, 25 Aug 2002 08:38:48 +0000 (08:38 +0000)]
(main): Use correct format string.

17 years agoUpdate.
drepper [Sun, 25 Aug 2002 08:37:11 +0000 (08:37 +0000)]
Update.

17 years ago(thread): Remove incorrect return statement.
drepper [Sun, 25 Aug 2002 08:36:11 +0000 (08:36 +0000)]
(thread): Remove incorrect return statement.

17 years ago(main): Use correct formats.
drepper [Sun, 25 Aug 2002 08:27:08 +0000 (08:27 +0000)]
(main): Use correct formats.

17 years ago(main): Use correct formats.
drepper [Sun, 25 Aug 2002 08:22:55 +0000 (08:22 +0000)]
(main): Use correct formats.

17 years ago(main): Use correct formats.
drepper [Sun, 25 Aug 2002 08:18:49 +0000 (08:18 +0000)]
(main): Use correct formats.

17 years ago(do_test): Use correct format in error message.
drepper [Sun, 25 Aug 2002 08:09:59 +0000 (08:09 +0000)]
(do_test): Use correct format in error message.

17 years ago(do_test): Use correct format in error message.
drepper [Sun, 25 Aug 2002 08:09:26 +0000 (08:09 +0000)]
(do_test): Use correct format in error message.

17 years ago(do_test): Use correct format in error message.
drepper [Sun, 25 Aug 2002 08:08:55 +0000 (08:08 +0000)]
(do_test): Use correct format in error message.

17 years agoUpdate.
drepper [Sun, 25 Aug 2002 08:07:31 +0000 (08:07 +0000)]
Update.

17 years agoUse correct format in test result printing code.
drepper [Sun, 25 Aug 2002 08:06:37 +0000 (08:06 +0000)]
Use correct format in test result printing code.

17 years agoUpdate.
drepper [Sun, 25 Aug 2002 07:22:45 +0000 (07:22 +0000)]
Update.

17 years agoAdd PI_STATIC_AND_HIDDEN entry.
drepper [Sun, 25 Aug 2002 07:20:43 +0000 (07:20 +0000)]
Add PI_STATIC_AND_HIDDEN entry.

17 years agoRegenerated.
drepper [Sun, 25 Aug 2002 07:20:16 +0000 (07:20 +0000)]
Regenerated.

17 years agoUnconditionally define PI_STATIC_AND_HIDDEN.
drepper [Sun, 25 Aug 2002 07:19:55 +0000 (07:19 +0000)]
Unconditionally define PI_STATIC_AND_HIDDEN.

17 years ago(DONT_USE_BOOTSTRAP_MAP): Define only if PI_STATIC_AND_HIDDEN is
drepper [Sun, 25 Aug 2002 07:18:52 +0000 (07:18 +0000)]
(DONT_USE_BOOTSTRAP_MAP): Define only if PI_STATIC_AND_HIDDEN is
defined as well.
(dl_main): Add casts to avoid warnings.

17 years agoUpdate.
drepper [Sun, 25 Aug 2002 05:27:13 +0000 (05:27 +0000)]
Update.

17 years agoDefine __bzero as well.
drepper [Sun, 25 Aug 2002 05:25:12 +0000 (05:25 +0000)]
Define __bzero as well.

17 years agoUpdate.
drepper [Sun, 25 Aug 2002 04:51:08 +0000 (04:51 +0000)]
Update.

17 years agoAdd casts to avoid warnings.
drepper [Sun, 25 Aug 2002 04:48:27 +0000 (04:48 +0000)]
Add casts to avoid warnings.

17 years ago(process_block): Add casts to avoid warnings.
drepper [Sun, 25 Aug 2002 04:47:43 +0000 (04:47 +0000)]
(process_block): Add casts to avoid warnings.

17 years ago(charmap_new_char): Don't use ULONG_MAX as maximum UCS4 value.
drepper [Sun, 25 Aug 2002 04:47:11 +0000 (04:47 +0000)]
(charmap_new_char): Don't use ULONG_MAX as maximum UCS4 value.

17 years ago(get_toplvl_escape): Add cast to avoid warning.
drepper [Sun, 25 Aug 2002 04:38:09 +0000 (04:38 +0000)]
(get_toplvl_escape): Add cast to avoid warning.

17 years ago(charmap_read): Add cast to avoid warning.
drepper [Sun, 25 Aug 2002 04:18:18 +0000 (04:18 +0000)]
(charmap_read): Add cast to avoid warning.

17 years ago(HP_TIMING_PRINT): Add cast to avoid warning.
drepper [Sun, 25 Aug 2002 04:14:44 +0000 (04:14 +0000)]
(HP_TIMING_PRINT): Add cast to avoid warning.

17 years ago(load_profdata): Add cast to avoid warning.
drepper [Sun, 25 Aug 2002 04:13:28 +0000 (04:13 +0000)]
(load_profdata): Add cast to avoid warning.

17 years ago(process_file): Add casts to avoid warning.
drepper [Sun, 25 Aug 2002 04:11:55 +0000 (04:11 +0000)]
(process_file): Add casts to avoid warning.

17 years ago(_dl_debug_vdprintf): Add cast to avoid warning.
drepper [Sun, 25 Aug 2002 04:10:20 +0000 (04:10 +0000)]
(_dl_debug_vdprintf): Add cast to avoid warning.

17 years agoAdd casts to avoid warnings.
drepper [Sun, 25 Aug 2002 04:08:50 +0000 (04:08 +0000)]
Add casts to avoid warnings.

17 years agoLinux/IA-64 version of <sys/user.h>.
drepper [Sun, 25 Aug 2002 03:57:38 +0000 (03:57 +0000)]
Linux/IA-64 version of <sys/user.h>.

17 years ago(fcvt_r): Add casts to avoid warnings.
drepper [Sun, 25 Aug 2002 03:56:38 +0000 (03:56 +0000)]
(fcvt_r): Add casts to avoid warnings.

17 years agoAdd casts to avoid warning.
drepper [Sun, 25 Aug 2002 03:08:01 +0000 (03:08 +0000)]
Add casts to avoid warning.

17 years agoWe don't need the isascii test in glibc.
drepper [Sun, 25 Aug 2002 02:59:12 +0000 (02:59 +0000)]
We don't need the isascii test in glibc.

17 years ago(public_sET_STATe): use size_t as type for i.
drepper [Sun, 25 Aug 2002 02:56:18 +0000 (02:56 +0000)]
(public_sET_STATe): use size_t as type for i.

17 years ago(mALLINFo): Use size_t as type for i.
drepper [Sun, 25 Aug 2002 02:55:35 +0000 (02:55 +0000)]
(mALLINFo): Use size_t as type for i.

17 years agoAdd casts to avoid warnings.
drepper [Sun, 25 Aug 2002 02:50:46 +0000 (02:50 +0000)]
Add casts to avoid warnings.

17 years agoAdd castst to avoid warnings.
drepper [Sun, 25 Aug 2002 02:47:57 +0000 (02:47 +0000)]
Add castst to avoid warnings.

17 years ago(_IO_wstr_pbackfail): Use WEOF in comparison.
drepper [Sun, 25 Aug 2002 02:44:57 +0000 (02:44 +0000)]
(_IO_wstr_pbackfail): Use WEOF in comparison.

17 years ago(_IO_wfile_overflow): Use EOF not WEOF when examining result of
drepper [Sun, 25 Aug 2002 02:44:24 +0000 (02:44 +0000)]
(_IO_wfile_overflow): Use EOF not WEOF when examining result of
_IO_do_flush call.

17 years ago(inchar): Add cast to avoid warnings.
drepper [Sun, 25 Aug 2002 02:40:59 +0000 (02:40 +0000)]
(inchar): Add cast to avoid warnings.

17 years ago(vfprintf): Use correct type in va_arg. Use prec not spec when sizing buffers.
drepper [Sun, 25 Aug 2002 01:18:41 +0000 (01:18 +0000)]
(vfprintf): Use correct type in va_arg.  Use prec not spec when sizing buffers.

17 years ago(__open_catalog): Add casts to avoid warnings.
drepper [Sun, 25 Aug 2002 00:55:57 +0000 (00:55 +0000)]
(__open_catalog): Add casts to avoid warnings.

17 years ago(_nl_load_locale_from_archive): Add cast to avoid warning.
drepper [Sun, 25 Aug 2002 00:52:08 +0000 (00:52 +0000)]
(_nl_load_locale_from_archive): Add cast to avoid warning.

17 years ago(_nl_intern_locale_data): Add cast to avoid warning.
drepper [Sun, 25 Aug 2002 00:48:37 +0000 (00:48 +0000)]
(_nl_intern_locale_data): Add cast to avoid warning.

17 years agoDefine _ASM_IA64_CURRENT_H macro to calm down the compiler.
drepper [Sun, 25 Aug 2002 00:43:37 +0000 (00:43 +0000)]
Define _ASM_IA64_CURRENT_H macro to calm down the compiler.

17 years ago(__gconv_load_cache): Add cast to avoid warning.
drepper [Sun, 25 Aug 2002 00:40:15 +0000 (00:40 +0000)]
(__gconv_load_cache): Add cast to avoid warning.

17 years ago(__asm__): Don't use newlines embedded in string.
drepper [Sun, 25 Aug 2002 00:34:23 +0000 (00:34 +0000)]
(__asm__): Don't use newlines embedded in string.

17 years agoUpdate comment regarding placement of errno definition.
drepper [Sat, 24 Aug 2002 23:26:46 +0000 (23:26 +0000)]
Update comment regarding placement of errno definition.

17 years ago(MAXPACKET): Increase minimum value from 1024 to 65536, to avoid buffer overrun.
drepper [Sat, 24 Aug 2002 22:29:11 +0000 (22:29 +0000)]
(MAXPACKET): Increase minimum value from 1024 to 65536, to avoid buffer overrun.

17 years agoUpdate.
aj [Sat, 24 Aug 2002 06:48:07 +0000 (06:48 +0000)]
Update.

17 years ago Remove *xattr syscalls.
aj [Sat, 24 Aug 2002 06:47:55 +0000 (06:47 +0000)]
 Remove *xattr syscalls.

17 years agoUpdate.
drepper [Sat, 24 Aug 2002 03:35:35 +0000 (03:35 +0000)]
Update.

17 years agoDefine LINUXTHREADS_VERSION.
drepper [Sat, 24 Aug 2002 03:34:32 +0000 (03:34 +0000)]
Define LINUXTHREADS_VERSION.

17 years ago(symbol_list_arr): Add LINUXTHREADS_VERSION string.
drepper [Sat, 24 Aug 2002 03:33:41 +0000 (03:33 +0000)]
(symbol_list_arr): Add LINUXTHREADS_VERSION string.

17 years ago(td_ta_new): After verifying the thread library is there check version.
drepper [Sat, 24 Aug 2002 03:32:27 +0000 (03:32 +0000)]
(td_ta_new): After verifying the thread library is there check version.

17 years agoAdd new error TD_VERSION.
drepper [Sat, 24 Aug 2002 03:31:20 +0000 (03:31 +0000)]
Add new error TD_VERSION.

17 years agoUpdate.
drepper [Sat, 24 Aug 2002 03:20:58 +0000 (03:20 +0000)]
Update.

17 years ago(__linuxthreads_version): New global constant.
drepper [Sat, 24 Aug 2002 03:19:25 +0000 (03:19 +0000)]
(__linuxthreads_version): New global constant.

17 years agoUpdate.
drepper [Sat, 24 Aug 2002 01:36:09 +0000 (01:36 +0000)]
Update.

17 years ago(log1): Define and initialize two52 locally.
drepper [Sat, 24 Aug 2002 00:21:07 +0000 (00:21 +0000)]
(log1): Define and initialize two52 locally.
(log2): Likewise.

17 years agoRemove definition of two52.
drepper [Sat, 24 Aug 2002 00:19:45 +0000 (00:19 +0000)]
Remove definition of two52.

17 years ago(__get_nprocs_conf): Prefer reading /proc/stat since it is more
drepper [Sat, 24 Aug 2002 00:00:43 +0000 (00:00 +0000)]
(__get_nprocs_conf): Prefer reading /proc/stat since it is more
uniform across architectures.

17 years agoUpdate to latest official version.
drepper [Fri, 23 Aug 2002 22:35:04 +0000 (22:35 +0000)]
Update to latest official version.

17 years agoUpdate.
drepper [Fri, 23 Aug 2002 22:33:32 +0000 (22:33 +0000)]
Update.

17 years agoDefine SHMLBA to 2^20 since this is what the kernel says.
drepper [Fri, 23 Aug 2002 22:27:00 +0000 (22:27 +0000)]
Define SHMLBA to 2^20 since this is what the kernel says.

17 years agoDefine SHMLBA.
drepper [Fri, 23 Aug 2002 22:26:24 +0000 (22:26 +0000)]
Define SHMLBA.

17 years agoRemove SHMLBA definition.
drepper [Fri, 23 Aug 2002 22:24:27 +0000 (22:24 +0000)]
Remove SHMLBA definition.

17 years agoUpdate.
drepper [Fri, 23 Aug 2002 21:47:01 +0000 (21:47 +0000)]
Update.

17 years agoInclude <sys/types.h> instead of <stddef.h> since ssize_t is needed as well.
drepper [Fri, 23 Aug 2002 21:34:01 +0000 (21:34 +0000)]
Include <sys/types.h> instead of <stddef.h> since ssize_t is needed as well.
Replace const with __const.

17 years ago * sysdeps/x86_64/pt-machine.h: Use %fs instead of %gs
aj [Fri, 23 Aug 2002 15:22:24 +0000 (15:22 +0000)]
* sysdeps/x86_64/pt-machine.h: Use %fs instead of %gs
as thread specific register.
(testandset): Fix inline asm.
(THREAD_GETMEM): Fix inline asm.

17 years ago.
roland [Fri, 23 Aug 2002 10:53:52 +0000 (10:53 +0000)]
.

17 years ago2002-08-23 Roland McGrath <roland@redhat.com>
roland [Fri, 23 Aug 2002 10:53:29 +0000 (10:53 +0000)]
2002-08-23  Roland McGrath  <roland@redhat.com>

* malloc/hooks.c (__malloc_initialize_hook, __free_hook,
__malloc_hook, __realloc_hook, __memalign_hook,
__after_morecore_hook): Variable definitions moved to ...
* malloc/malloc.c: ... here, so as to be before all references.

17 years ago.
roland [Fri, 23 Aug 2002 10:35:03 +0000 (10:35 +0000)]
.

17 years ago2002-08-23 Roland McGrath <roland@redhat.com>
roland [Fri, 23 Aug 2002 10:34:49 +0000 (10:34 +0000)]
2002-08-23  Roland McGrath  <roland@redhat.com>

* sysdeps/i386/dl-machine.h (elf_machine_load_address): Add a dummy
global variable reference in an unused asm parameter, to ensure the
compiler has set up the GOT register before we use it.

17 years ago.
roland [Fri, 23 Aug 2002 09:46:50 +0000 (09:46 +0000)]
.

17 years ago2002-08-23 Roland McGrath <roland@redhat.com>
roland [Fri, 23 Aug 2002 09:46:36 +0000 (09:46 +0000)]
2002-08-23  Roland McGrath  <roland@redhat.com>

* malloc/hooks.c: Move variable definitions ahead of uses.
* libio/fileops.c: Move versioned_symbol defns ahead of _IO_jump_t
initializers that make reference to variables they define.

17 years agoUpdate.
aj [Fri, 23 Aug 2002 09:29:27 +0000 (09:29 +0000)]
Update.

17 years agoRemove *xattr syscalls.
aj [Fri, 23 Aug 2002 09:29:14 +0000 (09:29 +0000)]
Remove *xattr syscalls.

17 years agoRemove *xattr syscalls.
aj [Fri, 23 Aug 2002 09:28:59 +0000 (09:28 +0000)]
Remove *xattr syscalls.

17 years agoAdd *xattr calls with version 2.3.
aj [Fri, 23 Aug 2002 09:28:36 +0000 (09:28 +0000)]
Add *xattr calls with version 2.3.

17 years ago(headers): Add sys/xattr.h.
aj [Fri, 23 Aug 2002 09:28:14 +0000 (09:28 +0000)]
(headers): Add sys/xattr.h.
(routines): Add *xattr calls.

17 years agoDeclarations of *xattr functions.
aj [Fri, 23 Aug 2002 09:27:58 +0000 (09:27 +0000)]
Declarations of *xattr functions.

17 years ago*xattr stub implementation.
aj [Fri, 23 Aug 2002 09:27:15 +0000 (09:27 +0000)]
*xattr stub implementation.

17 years agoInclude <stdlib.h> for prototypes of alloca, free, qsort.
aj [Fri, 23 Aug 2002 09:22:11 +0000 (09:22 +0000)]
Include <stdlib.h> for prototypes of alloca, free, qsort.