1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-09-01 05:02:03 +03:00
* elf/rtld.c: Define _dl_bind_not variable.
	(process_envvars): Recognize LD_BIND_NOT and set _dl_bind_not.
	* elf/dl-support.c: Likewise.
	* sysdeps/generic/ldsodefs.h: Declare _dl_bind_not.
	* elf/dl-runtime.c (fixup): Don't remember looked up value if
	_dl_bind_not.
	(profile_fixup): Likewise.
This commit is contained in:
Ulrich Drepper
2000-07-21 06:43:05 +00:00
parent d052b31b79
commit f53c03c20d
5 changed files with 28 additions and 2 deletions

View File

@@ -96,6 +96,7 @@ int _dl_debug_statistics;
const char *_dl_inhibit_rpath; /* RPATH values which should be
ignored. */
const char *_dl_origin_path;
int _dl_bind_not;
/* This is a pointer to the map for the main object and through it to
all loaded objects. */
@@ -1363,7 +1364,12 @@ process_envvars (enum mode *modep, int *lazyp)
case 8:
/* Do we bind early? */
if (memcmp (&envline[3], "BIND_NOW", 8) == 0)
bind_now = envline[12] != '\0';
{
bind_now = envline[12] != '\0';
break;
}
if (memcmp (&envline[3], "BIND_NOT", 8) == 0)
_dl_bind_not = envline[12] != '\0';
break;
case 9: