glibc/sysdeps/mach
Ulrich Drepper f787edde1d Update.
1998-08-27 19:42  Ulrich Drepper  <drepper@cygnus.com>

	* elf/Makefile (distribute): Add dl-origin.h.
	* sysdeps/generic/dl-origin.h: New file.
	* sysdeps/unix/sysv/linux/dl-origin.h: New file.
	* elf/link.h (struct link_map): Add l_origin field.
	* elf/dl-load.c (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.
	* elf/dl-object.c (_dl_new_object): Determine l_origin for all maps
	but the main one.
	* elf/dl-support.c: Define _dl_origin_path.
	* elf/rtld.c: Likewise.  Set _dl_origin_path based on LD_ORIGIN_PATH.

	* elf/dl-close (_dl_close): Free l_name and l_origin.

	* sysdeps/i386/useldt.h (THREAD_GETMEM, THREAD_SETMEM): Use P
	modifier in asm, not c.

	* sysdeps/mach/hurd/Makefile [subdirs==elf]: Define CFLAGS-dl-load.c
	to -DEXTERNAL_MAP_FROM_FD to make _dl_map_object_from_fd extern.
1998-08-27 20:08:32 +00:00
..
alpha Updated. 1997-06-26 22:23:01 +00:00
bits Update. 1998-03-31 22:04:32 +00:00
hppa Update. 1997-06-23 21:55:26 +00:00
hurd Update. 1998-08-27 20:08:32 +00:00
i386 Updated. 1997-06-26 22:23:01 +00:00
mips Update. 1998-05-29 10:21:16 +00:00
powerpc Update. 1997-12-28 16:01:53 +00:00
sys Update. 1998-05-29 10:21:16 +00:00
_strerror.c Update. 1998-04-14 16:51:08 +00:00
adjtime.c Update. 1997-05-26 23:01:17 +00:00
getpagesize.c update from main archive 961105 1996-11-06 04:24:40 +00:00
getsysstats.c Update. 1997-06-23 21:55:26 +00:00
gettimeofday.c Update. 1997-05-26 23:01:17 +00:00
Makefile update from main arhive 970119 1997-01-20 02:49:49 +00:00
mprotect.c Update. 1997-10-15 05:34:02 +00:00
munmap.c Update. 1997-10-15 05:34:02 +00:00
pagecopy.h Update. 1997-06-23 21:55:26 +00:00
sleep.c Update to 2.1.x development version 1997-02-15 04:31:36 +00:00
start.c Update. 1997-06-23 21:55:26 +00:00
Subdirs initial import 1995-02-18 01:27:10 +00:00
sysdep.h Update. 1998-05-29 10:21:16 +00:00
thread_state.h Update from main archive 961219 1996-12-20 01:39:50 +00:00
usleep.c 1998-08-12 Roland McGrath <roland@baalperazim.frob.com> 1998-08-11 21:52:02 +00:00