kopensolaris-gnu/glibc.git
21 years agoDefine missing PRI* and SCN* macros.
drepper [Mon, 31 Aug 1998 16:05:54 +0000 (16:05 +0000)]
Define missing PRI* and SCN* macros.

21 years agoAllow inclusion from sys/ucontext.h.
drepper [Mon, 31 Aug 1998 16:05:06 +0000 (16:05 +0000)]
Allow inclusion from sys/ucontext.h.

21 years agoAdd umount.S and umount2.S.
drepper [Mon, 31 Aug 1998 16:04:20 +0000 (16:04 +0000)]
Add umount.S and umount2.S.

21 years ago(ENOMSG): Remove duplicate.
drepper [Mon, 31 Aug 1998 16:04:06 +0000 (16:04 +0000)]
(ENOMSG): Remove duplicate.

21 years agoDeclare strtof and strtlod is __USE_ISOC9X.
drepper [Mon, 31 Aug 1998 16:03:45 +0000 (16:03 +0000)]
Declare strtof and strtlod is __USE_ISOC9X.

21 years agoChange to declare __isinf all the time.
drepper [Mon, 31 Aug 1998 16:02:55 +0000 (16:02 +0000)]
Change to declare __isinf all the time.
Don't declare scalb for ISO C 9x.

21 years agoDefine fma. Rewrite the underlying macros.
drepper [Mon, 31 Aug 1998 16:01:47 +0000 (16:01 +0000)]
Define fma.  Rewrite the underlying macros.

21 years agoDefine isinf as macro.
drepper [Mon, 31 Aug 1998 16:01:18 +0000 (16:01 +0000)]
Define isinf as macro.

21 years agoMake vfscanf, scanf, and vsscanf available if __USE_ISOC9X.
drepper [Mon, 31 Aug 1998 16:00:49 +0000 (16:00 +0000)]
Make vfscanf, scanf, and vsscanf available if __USE_ISOC9X.
Remove __vsscanf declaration.
Always declare fgetpos and fsetpos.

21 years ago(lockf): Move initilisation of fl.l_whence and fl.l_start at beginning
drepper [Mon, 31 Aug 1998 15:58:52 +0000 (15:58 +0000)]
(lockf): Move initilisation of fl.l_whence and fl.l_start at beginning
of function.

21 years agoAdd __vsscanf.
drepper [Mon, 31 Aug 1998 15:58:39 +0000 (15:58 +0000)]
Add __vsscanf.

21 years ago(distribute): Remove ldd.sh.in.
drepper [Mon, 31 Aug 1998 15:58:08 +0000 (15:58 +0000)]
(distribute): Remove ldd.sh.in.

21 years agoUse <db.h> instead of "db.h" to find header in include.
drepper [Mon, 31 Aug 1998 15:57:53 +0000 (15:57 +0000)]
Use <db.h> instead of "db.h" to find header in include.

21 years agoUpdate.
drepper [Mon, 31 Aug 1998 11:11:15 +0000 (11:11 +0000)]
Update.

21 years ago(ALLPERMS): Fix type (S_ISTXT -> S_ISVTX).
drepper [Mon, 31 Aug 1998 11:10:30 +0000 (11:10 +0000)]
(ALLPERMS): Fix type (S_ISTXT -> S_ISVTX).

21 years agoMake in Work in RedHat systems.
drepper [Mon, 31 Aug 1998 10:02:07 +0000 (10:02 +0000)]
Make in Work in RedHat systems.

21 years agoRemove wrong news.
drepper [Mon, 31 Aug 1998 09:53:27 +0000 (09:53 +0000)]
Remove wrong news.

21 years agoDon't try to run test programs when cross-compiling.
drepper [Mon, 31 Aug 1998 09:46:17 +0000 (09:46 +0000)]
Don't try to run test programs when cross-compiling.

21 years agoInclude bits/sigthread.h only if __USE_POSIX.
drepper [Mon, 31 Aug 1998 09:44:18 +0000 (09:44 +0000)]
Include bits/sigthread.h only if __USE_POSIX.

21 years ago(get_origin): Remove unused variable.
drepper [Mon, 31 Aug 1998 09:39:39 +0000 (09:39 +0000)]
(get_origin): Remove unused variable.

21 years agoUpdate.
drepper [Sat, 29 Aug 1998 09:51:09 +0000 (09:51 +0000)]
Update.

21 years agoGenerate register dump for Linux/i386.
drepper [Sat, 29 Aug 1998 09:49:54 +0000 (09:49 +0000)]
Generate register dump for Linux/i386.

21 years agoMoved into Linux-specific dir.
drepper [Sat, 29 Aug 1998 09:49:15 +0000 (09:49 +0000)]
Moved into Linux-specific dir.

21 years ago(_dl_object_relocation_scope): Add comment about error in the code.
drepper [Fri, 28 Aug 1998 23:40:09 +0000 (23:40 +0000)]
(_dl_object_relocation_scope): Add comment about error in the code.

21 years agoUpdate.
drepper [Fri, 28 Aug 1998 22:54:57 +0000 (22:54 +0000)]
Update.

21 years ago(elf_machine_lazy_rel): Change first parameter.
drepper [Fri, 28 Aug 1998 22:54:33 +0000 (22:54 +0000)]
(elf_machine_lazy_rel): Change first parameter.

21 years ago(elf_machine_lazy_rel): Change first parameter and use this value.
drepper [Fri, 28 Aug 1998 22:54:02 +0000 (22:54 +0000)]
(elf_machine_lazy_rel): Change first parameter and use this value.

21 years ago(elf_dynamic_do_rel): Call elf_machine_lazy_rel with load address, not
drepper [Fri, 28 Aug 1998 22:51:19 +0000 (22:51 +0000)]
(elf_dynamic_do_rel): Call elf_machine_lazy_rel with load address, not
map address.

21 years agoUpdate.
drepper [Fri, 28 Aug 1998 14:02:28 +0000 (14:02 +0000)]
Update.

21 years agoDefine THREAD_GETMEM_NC and THREAD_SETMEM_NC.
drepper [Fri, 28 Aug 1998 14:01:42 +0000 (14:01 +0000)]
Define THREAD_GETMEM_NC and THREAD_SETMEM_NC.

21 years agoFix typo. Add THREAD_GETMEM_NC and THREAD_SETMEM_NC definitions.
drepper [Fri, 28 Aug 1998 14:00:47 +0000 (14:00 +0000)]
Fix typo.  Add THREAD_GETMEM_NC and THREAD_SETMEM_NC definitions.

21 years agoUse THREAD_GETMEM_NC and THREAD_SETMEM_NC where necessary.
drepper [Fri, 28 Aug 1998 14:00:00 +0000 (14:00 +0000)]
Use THREAD_GETMEM_NC and THREAD_SETMEM_NC where necessary.

21 years agoAlso define THREAD_GETMEM_NC and THREAD_SETMEM_NC to access thread
drepper [Fri, 28 Aug 1998 13:59:31 +0000 (13:59 +0000)]
Also define THREAD_GETMEM_NC and THREAD_SETMEM_NC to access thread
data with non-constant offsets.

21 years agoUpdate.
drepper [Fri, 28 Aug 1998 09:29:49 +0000 (09:29 +0000)]
Update.

21 years ago(install_handler): Protect the non-POSIX signals with #ifdef.
drepper [Fri, 28 Aug 1998 09:28:17 +0000 (09:28 +0000)]
(install_handler): Protect the non-POSIX signals with #ifdef.
(catch_segfault): Add missing mode parameter for open.

21 years ago(mprobe): Call checkhdr with adjusted pointer.
drepper [Fri, 28 Aug 1998 09:28:01 +0000 (09:28 +0000)]
(mprobe): Call checkhdr with adjusted pointer.

21 years ago(malloc_hook_ini): Don't overwrite realloc and memalign hook.
drepper [Fri, 28 Aug 1998 09:27:15 +0000 (09:27 +0000)]
(malloc_hook_ini): Don't overwrite realloc and memalign hook.
(realloc_hook_ini): Don't overwrite memalign hook.
(memalign_hook_ini): Don't overwrite malloc and memalign hooks.

21 years ago(process_envvars): Fix copy&paste error.
drepper [Fri, 28 Aug 1998 09:24:08 +0000 (09:24 +0000)]
(process_envvars): Fix copy&paste error.

21 years agoAvoid termination message from shell. Allow other termination
drepper [Fri, 28 Aug 1998 09:22:49 +0000 (09:22 +0000)]
Avoid termination message from shell.  Allow other termination
signals.

21 years ago(distribute): Add register-dump.h.
drepper [Fri, 28 Aug 1998 09:22:39 +0000 (09:22 +0000)]
(distribute): Add register-dump.h.

21 years ago * sysdeps/unix/sysv/linux/m68k/register-dump.h: New file.
schwab [Fri, 28 Aug 1998 01:42:40 +0000 (01:42 +0000)]
* sysdeps/unix/sysv/linux/m68k/register-dump.h: New file.

21 years ago(process_envvars): Only use LD_ORIGIN_PATH if !enable secure.
drepper [Thu, 27 Aug 1998 20:52:37 +0000 (20:52 +0000)]
(process_envvars): Only use LD_ORIGIN_PATH if !enable secure.

21 years agoUpdate.
drepper [Thu, 27 Aug 1998 20:42:04 +0000 (20:42 +0000)]
Update.

21 years agoFix some bugs/
drepper [Thu, 27 Aug 1998 20:41:55 +0000 (20:41 +0000)]
Fix some bugs/

21 years ago(dl_main): Call _dl_new_object with extra argument.
drepper [Thu, 27 Aug 1998 20:41:40 +0000 (20:41 +0000)]
(dl_main): Call _dl_new_object with extra argument.

21 years agoAdjust for _dl_new_object change.
drepper [Thu, 27 Aug 1998 20:41:18 +0000 (20:41 +0000)]
Adjust for _dl_new_object change.

21 years agoAdd new parameter.
drepper [Thu, 27 Aug 1998 20:40:52 +0000 (20:40 +0000)]
Add new parameter.

21 years ago(_dl_map_object_from_fd): Call _dl_new_object with extra argument.
drepper [Thu, 27 Aug 1998 20:40:16 +0000 (20:40 +0000)]
(_dl_map_object_from_fd): Call _dl_new_object with extra argument.
(_dl_map_object): Likewise.

21 years agoUpdate.
drepper [Thu, 27 Aug 1998 20:08:32 +0000 (20:08 +0000)]
Update.

21 years agoFunction to get path of executable. Linux version.
drepper [Thu, 27 Aug 1998 20:08:05 +0000 (20:08 +0000)]
Function to get path of executable.  Linux version.

21 years ago[subdirs==elf]: Define CFLAGS-dl-load.c to -DEXTERNAL_MAP_FROM_FD to
drepper [Thu, 27 Aug 1998 20:07:42 +0000 (20:07 +0000)]
[subdirs==elf]: Define CFLAGS-dl-load.c to -DEXTERNAL_MAP_FROM_FD to
make _dl_map_object_from_fd extern.

21 years agoFunction to get path of executable. Generic version.
drepper [Thu, 27 Aug 1998 20:06:23 +0000 (20:06 +0000)]
Function to get path of executable.  Generic version.

21 years ago(THREAD_GETMEM, THREAD_SETMEM): Use P modifier in asm, not c.
drepper [Thu, 27 Aug 1998 20:05:51 +0000 (20:05 +0000)]
(THREAD_GETMEM, THREAD_SETMEM): Use P modifier in asm, not c.

21 years agoDefine _dl_origin_path. Set _dl_origin_path based on LD_ORIGIN_PATH.
drepper [Thu, 27 Aug 1998 20:04:55 +0000 (20:04 +0000)]
Define _dl_origin_path.  Set _dl_origin_path based on LD_ORIGIN_PATH.

21 years ago(struct link_map): Add l_origin field.
drepper [Thu, 27 Aug 1998 20:04:06 +0000 (20:04 +0000)]
(struct link_map): Add l_origin field.

21 years agoDefine _dl_origin_path.
drepper [Thu, 27 Aug 1998 20:03:36 +0000 (20:03 +0000)]
Define _dl_origin_path.

21 years ago(_dl_new_object): Determine l_origin for all maps but the main one.
drepper [Thu, 27 Aug 1998 20:03:07 +0000 (20:03 +0000)]
(_dl_new_object): Determine l_origin for all maps but the main one.

21 years ago(expand_dynamic_string_token): New function.
drepper [Thu, 27 Aug 1998 20:01:33 +0000 (20:01 +0000)]
(expand_dynamic_string_token): New function.
(decompose_path): Remove WHERE argument, take link map pointer instead.
Call expand_dynamic_string_token instead of local_strdup to make copy of rpath.
(_dl_init_paths): Call decompose_path with correct argument.
(_dl_map_object_from_fd): Define static is EXTERNAL_MAP_FROM_FD is not defined.
Check EI_OSABI and EI_ABIVERSION fields in header.
(_dl_map_object): Call decompose_path with correct argument.
Call expand_dynamic_string_token instead of local_strdup to also expand DST.

21 years ago(_dl_close): Free l_name and l_origin.
drepper [Thu, 27 Aug 1998 19:44:24 +0000 (19:44 +0000)]
(_dl_close): Free l_name and l_origin.

21 years ago(distribute): Add dl-origin.h.
drepper [Thu, 27 Aug 1998 19:43:46 +0000 (19:43 +0000)]
(distribute): Add dl-origin.h.

21 years agoUpdate.
drepper [Wed, 26 Aug 1998 18:03:49 +0000 (18:03 +0000)]
Update.

21 years ago(dl_open_worker): Correct test for extending global scope array.
drepper [Wed, 26 Aug 1998 18:03:42 +0000 (18:03 +0000)]
(dl_open_worker): Correct test for extending global scope array.

21 years ago(_dl_close): Move map->l_nsearchlist value into local variable so that
drepper [Wed, 26 Aug 1998 18:03:33 +0000 (18:03 +0000)]
(_dl_close): Move map->l_nsearchlist value into local variable so that
map can be freed.

21 years ago(gmp-objs): New variable.
drepper [Wed, 26 Aug 1998 17:02:42 +0000 (17:02 +0000)]
(gmp-objs): New variable.
($(objpfx)atest-exp, $(objpfx)atest-sincos, $(objpfx)atest-exp2): Depend on it.
(tests): Add atest-exp atest-sincos atest-exp2.
(tests-static): Remove atest-exp atest-sincos atest-exp2.

21 years ago(catch_segfault): Skip top-level NULL return address.
drepper [Wed, 26 Aug 1998 17:02:25 +0000 (17:02 +0000)]
(catch_segfault): Skip top-level NULL return address.

21 years agoAllow _init and _fini to be undefined. Fix copyright notice.
drepper [Wed, 26 Aug 1998 17:02:12 +0000 (17:02 +0000)]
Allow _init and _fini to be undefined.  Fix copyright notice.

21 years agoSync up with generic version.
drepper [Wed, 26 Aug 1998 17:02:02 +0000 (17:02 +0000)]
Sync up with generic version.
In particular, set __libc_stack_end.

21 years agoRewrite. Much nicer this way.
drepper [Wed, 26 Aug 1998 17:01:51 +0000 (17:01 +0000)]
Rewrite.  Much nicer this way.
Don't call writev() with a 100-element vector.

21 years agoUpdate.
drepper [Wed, 26 Aug 1998 16:00:46 +0000 (16:00 +0000)]
Update.

21 years agoDefine THREAD_GETMEM and THREAD_SETMEM using __thread_self.
drepper [Wed, 26 Aug 1998 16:00:19 +0000 (16:00 +0000)]
Define THREAD_GETMEM and THREAD_SETMEM using __thread_self.

21 years agoShow how to use this useldt.h.
drepper [Wed, 26 Aug 1998 15:59:38 +0000 (15:59 +0000)]
Show how to use this useldt.h.

21 years agoDefinitions to use LDT to access thread descriptor.
drepper [Wed, 26 Aug 1998 15:59:02 +0000 (15:59 +0000)]
Definitions to use LDT to access thread descriptor.

21 years ago(INIT_THREAD_SELF): Add extra parameter.
drepper [Wed, 26 Aug 1998 15:58:27 +0000 (15:58 +0000)]
(INIT_THREAD_SELF): Add extra parameter.

21 years agoUse THREAD_GETMEM and THREAD_SETMEM to access the elements of the
drepper [Wed, 26 Aug 1998 15:57:26 +0000 (15:57 +0000)]
Use THREAD_GETMEM and THREAD_SETMEM to access the elements of the
thread descriptor.

21 years ago(__pthread_initial_thread): Initialize new fields.
drepper [Wed, 26 Aug 1998 15:54:39 +0000 (15:54 +0000)]
(__pthread_initial_thread): Initialize new fields.
(__pthread_manager_thread): Likewise.
(__pthread_initialize_manager): Call __clone woth CLONE_PTRACE.

21 years ago(__pthread_handles): Define second element to point to manager thread.
drepper [Wed, 26 Aug 1998 15:52:49 +0000 (15:52 +0000)]
(__pthread_handles): Define second element to point to manager thread.
(__pthread_handles_num): Initialize to 2.
(__pthread_manager): Use INIT_THREAD_SELF with two arguments.
(pthread_start_thread): Likewise.
(pthread_handle_create): Start search for free slot at entry 2.
Initialize new fields p_self and p_nr.
Call __clone with CLONE_PTRACE if available.
(pthread_free): Call FREE_THREAD_SELF if available.

21 years agoDefine THREAD_GETMEM and THREAD_SETMEM to default if not already defined.
drepper [Wed, 26 Aug 1998 15:48:42 +0000 (15:48 +0000)]
Define THREAD_GETMEM and THREAD_SETMEM to default if not already defined.
(struct _pthread_descr_struct): Add p_self and p_nr field.

21 years agoFix typo.
drepper [Wed, 26 Aug 1998 07:27:39 +0000 (07:27 +0000)]
Fix typo.

21 years agoUpdate.
drepper [Wed, 26 Aug 1998 00:07:26 +0000 (00:07 +0000)]
Update.

21 years agoDefine O_DIRECT.
drepper [Wed, 26 Aug 1998 00:07:02 +0000 (00:07 +0000)]
Define O_DIRECT.
Change O_LARGEFILE to correct value.

21 years agoDefine O_DIRECT.
drepper [Wed, 26 Aug 1998 00:06:05 +0000 (00:06 +0000)]
Define O_DIRECT.
Correct comment for O_LARGEFILE.

21 years agoMove static variable cache and cachesize to toplevel.
drepper [Wed, 26 Aug 1998 00:04:54 +0000 (00:04 +0000)]
Move static variable cache and cachesize to toplevel.
(_dl_unload_cache): New function.

21 years ago(_IO_getline_info): Don't read anything for N == 0.
drepper [Wed, 26 Aug 1998 00:03:36 +0000 (00:03 +0000)]
(_IO_getline_info): Don't read anything for N == 0.

21 years ago(dl_main): Unload map file before jumping to user code.
drepper [Wed, 26 Aug 1998 00:03:16 +0000 (00:03 +0000)]
(dl_main): Unload map file before jumping to user code.

21 years ago(_dl_open): Unload map file before freeing the lock.
drepper [Wed, 26 Aug 1998 00:03:02 +0000 (00:03 +0000)]
(_dl_open): Unload map file before freeing the lock.

21 years ago[libc GLIBC_2.1]: Add _dl_unload_cache.
drepper [Wed, 26 Aug 1998 00:01:33 +0000 (00:01 +0000)]
[libc GLIBC_2.1]: Add _dl_unload_cache.

21 years agoUpdate.
drepper [Tue, 25 Aug 1998 11:45:26 +0000 (11:45 +0000)]
Update.

21 years ago(FD_ZERO): Rewrite asm not to indicate an input register as being
drepper [Tue, 25 Aug 1998 11:45:05 +0000 (11:45 +0000)]
(FD_ZERO): Rewrite asm not to indicate an input register as being
clobbered.

21 years ago(memset): Rewrite asm not to indicate an input register as being
drepper [Tue, 25 Aug 1998 11:44:54 +0000 (11:44 +0000)]
(memset): Rewrite asm not to indicate an input register as being
clobbered.

21 years ago({BYTE,WORD}_COPY_[FB]WD): Rewrite asm not to indicate an input register as being
drepper [Tue, 25 Aug 1998 11:44:42 +0000 (11:44 +0000)]
({BYTE,WORD}_COPY_[FB]WD): Rewrite asm not to indicate an input register as being
clobbered.

21 years ago(__bzero): Rewrite asm not to indicate an input register as being
drepper [Tue, 25 Aug 1998 11:44:30 +0000 (11:44 +0000)]
(__bzero): Rewrite asm not to indicate an input register as being
clobbered.

21 years ago(__jrand48_r): Set also upper half of result.
drepper [Tue, 25 Aug 1998 11:44:13 +0000 (11:44 +0000)]
(__jrand48_r): Set also upper half of result.

21 years agoAdd syminfo stuff and other DT_* from Solaris' ELF.
drepper [Tue, 25 Aug 1998 11:43:54 +0000 (11:43 +0000)]
Add syminfo stuff and other DT_* from Solaris' ELF.

21 years agoUse __inline__ not inline.
drepper [Tue, 25 Aug 1998 11:43:05 +0000 (11:43 +0000)]
Use __inline__ not inline.

21 years agoUpdate.
drepper [Mon, 24 Aug 1998 16:46:16 +0000 (16:46 +0000)]
Update.

21 years ago(MNT_FORCE): Define as enum and fix value.
drepper [Mon, 24 Aug 1998 16:45:51 +0000 (16:45 +0000)]
(MNT_FORCE): Define as enum and fix value.

21 years agoAdd chown, remove getresuid, getresgid.
drepper [Mon, 24 Aug 1998 16:45:40 +0000 (16:45 +0000)]
Add chown, remove getresuid, getresgid.

21 years agoSigcontext acces definitions for Linux/PPC.
drepper [Mon, 24 Aug 1998 16:45:29 +0000 (16:45 +0000)]
Sigcontext acces definitions for Linux/PPC.

21 years agoUse i386 version.
drepper [Mon, 24 Aug 1998 16:43:30 +0000 (16:43 +0000)]
Use i386 version.

21 years agoLinux/PPC specific lchown implementation.
drepper [Mon, 24 Aug 1998 16:42:56 +0000 (16:42 +0000)]
Linux/PPC specific lchown implementation.