kopensolaris-gnu/glibc.git
20 years agoUpdate.
drepper [Sun, 7 May 2000 22:33:59 +0000 (22:33 +0000)]
Update.

20 years ago(__memccpy): Don't use reg_char type for x since promotion in comparison
drepper [Sun, 7 May 2000 22:33:10 +0000 (22:33 +0000)]
(__memccpy): Don't use reg_char type for x since promotion in comparison
might leads to unexpected results.

20 years agoUpdate.
drepper [Sun, 7 May 2000 22:04:36 +0000 (22:04 +0000)]
Update.

20 years ago(ucs4_internal_loop): Prefer reporting empty input buffer over full output
drepper [Sun, 7 May 2000 22:03:57 +0000 (22:03 +0000)]
(ucs4_internal_loop): Prefer reporting empty input buffer over full output
buffer.
(ucs4_internal_loop_unaligned): Likewise.
(internal_ucs4le_loop): Likewise.
(internal_ucs4le_loop_unaligned): Likewise.
(ucs4le_internal_loop): Likewise.
(ucs4le_internal_loop_unaligned): Likewise.

20 years agoUpdate.
drepper [Sun, 7 May 2000 22:00:43 +0000 (22:00 +0000)]
Update.

20 years ago(internal_ucs4_loop): Perfer reporting empty input buffer over full
drepper [Sun, 7 May 2000 21:59:57 +0000 (21:59 +0000)]
(internal_ucs4_loop): Perfer reporting empty input buffer over full
output buffer.

20 years agoUpdate.
drepper [Sun, 7 May 2000 21:58:34 +0000 (21:58 +0000)]
Update.

20 years ago(tests): Add tst-iconv1.
drepper [Sun, 7 May 2000 21:57:06 +0000 (21:57 +0000)]
(tests): Add tst-iconv1.

20 years agoTest case for iconv.
drepper [Sun, 7 May 2000 21:56:53 +0000 (21:56 +0000)]
Test case for iconv.

20 years agoUpdate.
drepper [Sun, 7 May 2000 21:23:56 +0000 (21:23 +0000)]
Update.

20 years ago(struct file_entry_new): New.
drepper [Sun, 7 May 2000 21:23:35 +0000 (21:23 +0000)]
(struct file_entry_new): New.
(struct cache_file_new): New.
(struct file_entry): New (moved from cache.c).
(struct cache_file): New (moved from cache.c).

20 years ago(SEARCH_CACHE): New macro, broken out from _dl_load_cache_lookup.
drepper [Sun, 7 May 2000 21:23:20 +0000 (21:23 +0000)]
(SEARCH_CACHE): New macro, broken out from _dl_load_cache_lookup.
(_dl_load_cache_lookup): Move search to SEARCH_CACHE macro, handle
the different cache formats.
New variable cache_new for new format.
(_dl_cache_libcmp): Moved to dl-cache.h.
(LD_SO_CACHE): Likewise.
(CACHEMAGIC):  Likewise.

20 years agoTest program for exit code handling.
drepper [Sun, 7 May 2000 21:22:32 +0000 (21:22 +0000)]
Test program for exit code handling.

20 years agoUpdate.
drepper [Sun, 7 May 2000 21:22:08 +0000 (21:22 +0000)]
Update.

20 years ago(__pthread_manager): Do not terminate manager after unblocking main
drepper [Sun, 7 May 2000 21:21:49 +0000 (21:21 +0000)]
(__pthread_manager): Do not terminate manager after unblocking main
thread; wait for main thread's REQ_PROCESS_EXIT request instead.
Also, added REQ_KICK case to handle new request; this just does
nothing.

(pthread_exited): Do not terminate manager after unblocking main
thread.

(__pthread_manager_sighandler): If the main thread is waiting for all
other threads to die, send a REQ_KICK into the thread manager request
pipe to get it to clean out the threads and unblock the main thread as
soon as possible. This fixes the 2000 millisecond hang on shutdown
bug.

20 years ago(pthread_exit): main thread now calls exit() instead of _exit() in
drepper [Sun, 7 May 2000 21:21:22 +0000 (21:21 +0000)]
(pthread_exit): main thread now calls exit() instead of _exit() in
order to proper process cleanup.

20 years agoNew thread manager request type, REQ_KICK.
drepper [Sun, 7 May 2000 21:21:10 +0000 (21:21 +0000)]
New thread manager request type, REQ_KICK.

20 years ago(tests): Add ex7.
drepper [Sun, 7 May 2000 21:20:56 +0000 (21:20 +0000)]
(tests): Add ex7.

20 years ago(main): Disable possibly existing LC_CTYPE and OUTPUT_CHARSET
drepper [Sun, 7 May 2000 21:20:12 +0000 (21:20 +0000)]
(main): Disable possibly existing LC_CTYPE and OUTPUT_CHARSET
environment variables.

20 years agoChange according to changes in cache.c and ldconfig.c; remove
drepper [Sun, 7 May 2000 21:20:01 +0000 (21:20 +0000)]
Change according to changes in cache.c and ldconfig.c; remove
cache_libcmp; add opt_format.

20 years agoInclude "dl-cache.h" and "dl-procinfo.h"; remove stuff that's defined
drepper [Sun, 7 May 2000 21:19:47 +0000 (21:19 +0000)]
Include "dl-cache.h" and "dl-procinfo.h"; remove stuff that's defined
in those headers.
Add hwcap to struct lib_entry.
(opt_format): New variable to select cache format.
(options): Add format parameter.
(is_hwcap): New function.
(path_hwcap): New function.
(parse_opt): Handle new format parameter.
(search_dir): Handle hwcap, search also subdirectories with hwcap.

20 years ago(_GNU_SOURCE): Removed. Not needed anymore since ldconfig is part of glibc.
drepper [Sun, 7 May 2000 21:19:22 +0000 (21:19 +0000)]
(_GNU_SOURCE): Removed.  Not needed anymore since ldconfig is part of glibc.
Include dl-cache.h and remove stuff that's defined there.
(struct cache_entry): Add new member hwcap.
(print_entry): Print hwcap, cleanup a bit.
(print_cache): Print new and old formats.
(compare): Use _dl_cache_libcmp from dl-cache.h; handle hwcap.
(save_cache): Save new and old formats.
(add_to_cache): Handle hwcap.

20 years ago(__gconv_open): If __gconv_find_transform returned != __GCONV_OK, there is
drepper [Sun, 7 May 2000 20:07:29 +0000 (20:07 +0000)]
(__gconv_open): If __gconv_find_transform returned != __GCONV_OK, there is
nothing to clean up.

20 years ago(alignof): New macro.
drepper [Sun, 7 May 2000 19:49:33 +0000 (19:49 +0000)]
(alignof): New macro.
(_nl_find_msg): Use it instead of __alignof__. Pass correct output
buffer length to __gconv/iconv. If malloc (freemem_size) fails, set
freemem_size to 0.

20 years ago(dcigettext): Fix interpretation of tsearch return value.
drepper [Sun, 7 May 2000 19:32:30 +0000 (19:32 +0000)]
(dcigettext): Fix interpretation of tsearch return value.

20 years agoRemoved conflict marker.
aj [Sun, 7 May 2000 14:13:21 +0000 (14:13 +0000)]
Removed conflict marker.

20 years agoUpdate.
drepper [Sat, 6 May 2000 17:57:43 +0000 (17:57 +0000)]
Update.

20 years ago(DCIGETTEXT): Always define local variable `index'.
drepper [Sat, 6 May 2000 17:54:58 +0000 (17:54 +0000)]
(DCIGETTEXT): Always define local variable `index'.
(mempcpy): Correct typo is parameter list.

20 years agoUpdate.
aj [Sat, 6 May 2000 07:46:31 +0000 (07:46 +0000)]
Update.

20 years ago2000-05-06 Andreas Jaeger <aj@suse.de>
aj [Sat, 6 May 2000 07:46:06 +0000 (07:46 +0000)]
2000-05-06  Andreas Jaeger  <aj@suse.de>

* sysdeps/i386/fpu/bits/mathinline.h: Disable some inline
functions unless -ffast-math is given to gcc.

20 years agoUpdate.
drepper [Sat, 6 May 2000 07:07:02 +0000 (07:07 +0000)]
Update.

20 years agoNew version from translator.
drepper [Sat, 6 May 2000 07:06:27 +0000 (07:06 +0000)]
New version from translator.

20 years ago2000-05-05 Andreas Jaeger <aj@suse.de>
aj [Fri, 5 May 2000 21:32:19 +0000 (21:32 +0000)]
2000-05-05  Andreas Jaeger  <aj@suse.de>

* sysdeps/unix/sysv/linux/i386/getcpuclockid.c
(pthread_getcpuclockid): Correct test for ourselves.

20 years agoUpdate.
drepper [Fri, 5 May 2000 20:48:16 +0000 (20:48 +0000)]
Update.

20 years agotcgetattr implementation on top of AIX with Linux interface.
drepper [Fri, 5 May 2000 20:48:04 +0000 (20:48 +0000)]
tcgetattr implementation on top of AIX with Linux interface.

20 years agoFix typos.
drepper [Fri, 5 May 2000 20:47:31 +0000 (20:47 +0000)]
Fix typos.

20 years agoAdditional files for Linux emulation on AIX.
drepper [Fri, 5 May 2000 20:29:17 +0000 (20:29 +0000)]
Additional files for Linux emulation on AIX.

20 years agoUpdate.
drepper [Fri, 5 May 2000 20:03:03 +0000 (20:03 +0000)]
Update.

20 years agotcsetattr implementation on top of AIX with Linux interface.
drepper [Fri, 5 May 2000 20:02:57 +0000 (20:02 +0000)]
tcsetattr implementation on top of AIX with Linux interface.

20 years agoRoutines to convert AIX stat to Linux form.
drepper [Fri, 5 May 2000 20:02:31 +0000 (20:02 +0000)]
Routines to convert AIX stat to Linux form.

20 years agoRoutines to convert AIX errno value to Linux value.
drepper [Fri, 5 May 2000 20:02:18 +0000 (20:02 +0000)]
Routines to convert AIX errno value to Linux value.

20 years agoRoutines to convert AIX dirent to Linux form.
drepper [Fri, 5 May 2000 20:02:01 +0000 (20:02 +0000)]
Routines to convert AIX dirent to Linux form.

20 years agoAIX termios definitions.
drepper [Fri, 5 May 2000 20:01:36 +0000 (20:01 +0000)]
AIX termios definitions.

20 years agoAIX stat definitions.
drepper [Fri, 5 May 2000 20:01:18 +0000 (20:01 +0000)]
AIX stat definitions.

20 years agoAIX errno definitions.
drepper [Fri, 5 May 2000 20:00:57 +0000 (20:00 +0000)]
AIX errno definitions.

20 years agoAIX dirent definitions.
drepper [Fri, 5 May 2000 20:00:38 +0000 (20:00 +0000)]
AIX dirent definitions.

20 years agoMoved to sysdeps/unix/sysv/linux/powerpc/aix.
drepper [Fri, 5 May 2000 19:54:08 +0000 (19:54 +0000)]
Moved to sysdeps/unix/sysv/linux/powerpc/aix.

20 years agoUpdate.
drepper [Fri, 5 May 2000 16:49:44 +0000 (16:49 +0000)]
Update.

20 years agoType definition for Linux/IA-64.
drepper [Fri, 5 May 2000 16:49:02 +0000 (16:49 +0000)]
Type definition for Linux/IA-64.

20 years agoEndian definition for Linux/IA-64.
drepper [Fri, 5 May 2000 16:48:55 +0000 (16:48 +0000)]
Endian definition for Linux/IA-64.

20 years agoELF definitions for Linux/IA-64.
drepper [Fri, 5 May 2000 16:48:43 +0000 (16:48 +0000)]
ELF definitions for Linux/IA-64.

20 years agoLow-level system definitions for Linux/IA-64.
drepper [Fri, 5 May 2000 16:48:23 +0000 (16:48 +0000)]
Low-level system definitions for Linux/IA-64.

20 years agosyscall function implementation for Linux/IA-64.
drepper [Fri, 5 May 2000 16:46:25 +0000 (16:46 +0000)]
syscall function implementation for Linux/IA-64.

20 years agofetestexcept implementation for IA-64.
drepper [Fri, 5 May 2000 16:45:12 +0000 (16:45 +0000)]
fetestexcept implementation for IA-64.

20 years agofesetexceptflag implementation for IA-64.
drepper [Fri, 5 May 2000 16:45:02 +0000 (16:45 +0000)]
fesetexceptflag implementation for IA-64.

20 years agoferaiseexcept implementation for IA-64.
drepper [Fri, 5 May 2000 16:44:52 +0000 (16:44 +0000)]
feraiseexcept implementation for IA-64.

20 years agofegetexceptflag implementation for IA-64.
drepper [Fri, 5 May 2000 16:44:41 +0000 (16:44 +0000)]
fegetexceptflag implementation for IA-64.

20 years agofeupdateenv implementation for IA-64.
drepper [Fri, 5 May 2000 16:44:26 +0000 (16:44 +0000)]
feupdateenv implementation for IA-64.

20 years agofesetround implementation for IA-64.
drepper [Fri, 5 May 2000 16:44:15 +0000 (16:44 +0000)]
fesetround implementation for IA-64.

20 years agofesetenv implementation for IA-64.
drepper [Fri, 5 May 2000 16:44:06 +0000 (16:44 +0000)]
fesetenv implementation for IA-64.

20 years agofeholdexcept implementation for IA-64.
drepper [Fri, 5 May 2000 16:43:58 +0000 (16:43 +0000)]
feholdexcept implementation for IA-64.

20 years agofegetround implementation for IA-64.
drepper [Fri, 5 May 2000 16:43:48 +0000 (16:43 +0000)]
fegetround implementation for IA-64.

20 years agofegetexcept implementation for IA-64.
drepper [Fri, 5 May 2000 16:43:39 +0000 (16:43 +0000)]
fegetexcept implementation for IA-64.

20 years agofegetenv implementation for IA-64.
drepper [Fri, 5 May 2000 16:43:30 +0000 (16:43 +0000)]
fegetenv implementation for IA-64.

20 years agofeenableexcept implementation for IA-64.
drepper [Fri, 5 May 2000 16:43:21 +0000 (16:43 +0000)]
feenableexcept implementation for IA-64.

20 years agofedisableexcept implementation for IA-64.
drepper [Fri, 5 May 2000 16:43:11 +0000 (16:43 +0000)]
fedisableexcept implementation for IA-64.

20 years agofeclearexcept implementation for IA-64.
drepper [Fri, 5 May 2000 16:43:00 +0000 (16:43 +0000)]
feclearexcept implementation for IA-64.

20 years agokELF startup code for IA-64.
drepper [Fri, 5 May 2000 16:42:39 +0000 (16:42 +0000)]
kELF startup code for IA-64.

20 years agoFloating point environment definitions.
drepper [Fri, 5 May 2000 16:42:28 +0000 (16:42 +0000)]
Floating point environment definitions.

20 years agoDefinitions for memprof implementation.
drepper [Fri, 5 May 2000 16:42:13 +0000 (16:42 +0000)]
Definitions for memprof implementation.

20 years agoParameters for GMP functions for IA-64.
drepper [Fri, 5 May 2000 16:42:00 +0000 (16:42 +0000)]
Parameters for GMP functions for IA-64.

20 years agoAdditional version definitions for IA-64.
drepper [Fri, 5 May 2000 16:41:45 +0000 (16:41 +0000)]
Additional version definitions for IA-64.

20 years agoAdditional Makefile for IA-64.
drepper [Fri, 5 May 2000 16:41:36 +0000 (16:41 +0000)]
Additional Makefile for IA-64.

20 years agoAdditional directories to use for IA-64.
drepper [Fri, 5 May 2000 16:41:26 +0000 (16:41 +0000)]
Additional directories to use for IA-64.

20 years agoUpdate.
aj [Fri, 5 May 2000 15:33:39 +0000 (15:33 +0000)]
Update.

20 years ago2000-05-05 Andreas Jaeger <aj@suse.de>
aj [Fri, 5 May 2000 15:31:58 +0000 (15:31 +0000)]
2000-05-05  Andreas Jaeger  <aj@suse.de>

* sysdeps/generic/dl-procinfo.h (_DL_HWCAP_COUNT): New.
(_dl_string_hwcap): New, does nothing.

* sysdeps/unix/sysv/linux/i386/dl-procinfo.h (_DL_HWCAP_COUNT):
New.
(_dl_procinfo): Use _DL_HWCAP_COUNT instead of a constant.
(_dl_string_hwcap): New function, converts from string to hwcap
encoding.
* sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h (_DL_HWCAP_COUNT):
New.
(_dl_procinfo): Use _DL_HWCAP_COUNT instead of a constant.
(_dl_string_hwcap): New function, converts from string to hwcap
encoding.
* sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h (_DL_HWCAP_COUNT):
New.
(_dl_procinfo): Use _DL_HWCAP_COUNT instead of a constant.
(_dl_string_hwcap): New function, converts from string to hwcap
encoding.

20 years ago2000-05-05 Andreas Jaeger <aj@suse.de>
aj [Fri, 5 May 2000 15:29:58 +0000 (15:29 +0000)]
2000-05-05  Andreas Jaeger  <aj@suse.de>

* misc/tst-tsearch.c (main): Correct type for initstate argument.

20 years ago2000-05-05 Andreas Jaeger <aj@suse.de>
aj [Fri, 5 May 2000 15:29:07 +0000 (15:29 +0000)]
2000-05-05  Andreas Jaeger  <aj@suse.de>

* misc/tst-tsearch.c (main): Correct type for initstate argument.

20 years agoUpdate.
drepper [Fri, 5 May 2000 08:07:07 +0000 (08:07 +0000)]
Update.

20 years ago(THREAD_SELF): Adjust use of p_self.
drepper [Fri, 5 May 2000 08:06:46 +0000 (08:06 +0000)]
(THREAD_SELF): Adjust use of p_self.

20 years ago(__pthread_initial_thread): Adjust initialization.
drepper [Fri, 5 May 2000 08:05:52 +0000 (08:05 +0000)]
(__pthread_initial_thread): Adjust initialization.
(__pthread_manager_thread): Likewise.

20 years ago(pthread_handle_create): Adjust use of p_self.
drepper [Fri, 5 May 2000 08:05:08 +0000 (08:05 +0000)]
(pthread_handle_create): Adjust use of p_self.

20 years ago(struct _pthread_descr_struct): Reorganization.
drepper [Fri, 5 May 2000 08:04:34 +0000 (08:04 +0000)]
(struct _pthread_descr_struct): Reorganization.
Allocate room for 16 pointers at head of the structure for future
thread-local data handling.  Move p_self member in this area.

20 years agoUpdate.
drepper [Fri, 5 May 2000 07:37:09 +0000 (07:37 +0000)]
Update.

20 years ago(distribute): dl-lookupcfg.h.
drepper [Fri, 5 May 2000 07:36:31 +0000 (07:36 +0000)]
(distribute): dl-lookupcfg.h.

20 years agoAdditional files to distribute for IA-64.
drepper [Fri, 5 May 2000 07:33:38 +0000 (07:33 +0000)]
Additional files to distribute for IA-64.

20 years ago(_dl_map_object_from_fd): Fix last change.
drepper [Fri, 5 May 2000 07:27:29 +0000 (07:27 +0000)]
(_dl_map_object_from_fd): Fix last change.

20 years agoUpdate.
drepper [Fri, 5 May 2000 07:15:29 +0000 (07:15 +0000)]
Update.

20 years agoHelper function to get symbol address.
drepper [Fri, 5 May 2000 07:14:51 +0000 (07:14 +0000)]
Helper function to get symbol address.

20 years agoIA-64 specific ELF definitions.
drepper [Fri, 5 May 2000 07:14:36 +0000 (07:14 +0000)]
IA-64 specific ELF definitions.

20 years agoFunctions to handle memory allocation for function descriptors.
drepper [Fri, 5 May 2000 07:14:16 +0000 (07:14 +0000)]
Functions to handle memory allocation for function descriptors.

20 years agoIA-64 specific definition of lookup value method.
drepper [Fri, 5 May 2000 07:13:55 +0000 (07:13 +0000)]
IA-64 specific definition of lookup value method.

20 years agoGeneric definition of lookup value method.
drepper [Fri, 5 May 2000 07:13:35 +0000 (07:13 +0000)]
Generic definition of lookup value method.

20 years ago(LOOKUP_VALUE_ADDRESS): Check the validity of map before dereferencing
drepper [Fri, 5 May 2000 07:13:13 +0000 (07:13 +0000)]
(LOOKUP_VALUE_ADDRESS): Check the validity of map before dereferencing
it.
Add generic DL_SYMBOL_ADDRESS() macro depending on the definition of
ELF_FUNCTION_PTR_IS_SPECIAL.

20 years ago(elf_machine_fixup_plt): Change return valuie to lookup_t and return the value.
drepper [Fri, 5 May 2000 07:11:44 +0000 (07:11 +0000)]
(elf_machine_fixup_plt): Change return valuie to lookup_t and return the value.

20 years ago(_dl_start): Get the function pointer return address via
drepper [Fri, 5 May 2000 07:11:05 +0000 (07:11 +0000)]
(_dl_start): Get the function pointer return address via
_dl_start_address for architectures that need a function pointer
descriptor rather than just a pointer (ia64).

20 years agoAdd IA-64 specific definitions.
drepper [Fri, 5 May 2000 07:10:45 +0000 (07:10 +0000)]
Add IA-64 specific definitions.

20 years ago(_dl_symbol_value): Use LOOKUP_VALUE_ADDRESS to obtain the symbol address.
drepper [Fri, 5 May 2000 07:10:06 +0000 (07:10 +0000)]
(_dl_symbol_value): Use LOOKUP_VALUE_ADDRESS to obtain the symbol address.

20 years ago(_dl_vsym): Use DL_SYMBOL_ADDRESS() to obtain the symbol address.
drepper [Fri, 5 May 2000 07:08:58 +0000 (07:08 +0000)]
(_dl_vsym): Use DL_SYMBOL_ADDRESS() to obtain the symbol address.

20 years ago(fixup): Add the value returned in the symbol lookup to the arguments
drepper [Fri, 5 May 2000 07:08:32 +0000 (07:08 +0000)]
(fixup): Add the value returned in the symbol lookup to the arguments
to elf_machine_fixup_plt().
(fixup): Use the portable macros to get the symbol address of an
object.
(fixup-profile): Use the portable macros to get the symbol address of
an object.