diff options
author | joseph <joseph@7b3dc134-2b1b-0410-93df-9e9f96275f8d> | 2014-02-07 21:04:10 +0000 |
---|---|---|
committer | joseph <joseph@7b3dc134-2b1b-0410-93df-9e9f96275f8d> | 2014-02-07 21:04:10 +0000 |
commit | 85f4cc52a11508e42daa5625283410e0d6f3a993 (patch) | |
tree | deca25a1076f1a24479cbca3bd7d162123fae742 /libc/elf/dl-support.c | |
parent | a1055d384d75c28f09a47c2d8628bc330f892955 (diff) | |
download | eglibc2-master.tar.gz |
git-svn-id: svn://svn.eglibc.org/trunk@25237 7b3dc134-2b1b-0410-93df-9e9f96275f8d
Diffstat (limited to 'libc/elf/dl-support.c')
-rw-r--r-- | libc/elf/dl-support.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libc/elf/dl-support.c b/libc/elf/dl-support.c index 1b8588929..32df06fb6 100644 --- a/libc/elf/dl-support.c +++ b/libc/elf/dl-support.c @@ -94,6 +94,7 @@ static struct link_map _dl_main_map = .l_scope = _dl_main_map.l_scope_mem, .l_local_scope = { &_dl_main_map.l_searchlist }, .l_used = 1, + .l_flags_1 = DF_1_NODEFLIB, .l_tls_offset = NO_TLS_OFFSET, .l_serial = 1, }; @@ -314,6 +315,8 @@ internal_function _dl_non_dynamic_init (void) { _dl_main_map.l_origin = _dl_get_origin (); + _dl_main_map.l_phdr = GL(dl_phdr); + _dl_main_map.l_phnum = GL(dl_phnum); if (HP_TIMING_AVAIL) HP_TIMING_NOW (_dl_cpuclock_offset); |