diff options
| author | ab196087 <none@none> | 2008-03-18 09:17:00 -0700 |
|---|---|---|
| committer | ab196087 <none@none> | 2008-03-18 09:17:00 -0700 |
| commit | ba2be53024c0b999e74ba9adcd7d80fec5df8c57 (patch) | |
| tree | 8d4a064e991d60c2948a5fff7e94617d0c81c7e7 /usr/src/cmd/sgs/rtld/common/object.c | |
| parent | 67004932d7fa76c24b8f7355e7edd136648990a4 (diff) | |
| download | illumos-joyent-ba2be53024c0b999e74ba9adcd7d80fec5df8c57.tar.gz | |
PSARC 2008/179 cross link-editor
6671255 link-editor should support cross linking
--HG--
rename : usr/src/cmd/sgs/libld/common/libld.chk.msg => deleted_files/usr/src/cmd/sgs/libld/common/libld.chk.msg
rename : usr/src/cmd/sgs/libld/common/machsym.intel.c => deleted_files/usr/src/cmd/sgs/libld/common/machsym.intel.c
rename : usr/src/uts/intel/amd64/krtld/relmach.h => deleted_files/usr/src/uts/intel/amd64/krtld/relmach.h
rename : usr/src/uts/intel/ia32/krtld/relmach.h => deleted_files/usr/src/uts/intel/ia32/krtld/relmach.h
rename : usr/src/uts/sparc/krtld/relmach.h => deleted_files/usr/src/uts/sparc/krtld/relmach.h
rename : usr/src/uts/sparc/sys/machelf.h => deleted_files/usr/src/uts/sparc/sys/machelf.h
rename : usr/src/cmd/sgs/include/i386/machdep.h => usr/src/cmd/sgs/include/i386/machdep_x86.h
rename : usr/src/cmd/sgs/include/sparc/machdep.h => usr/src/cmd/sgs/include/sparc/machdep_sparc.h
rename : usr/src/uts/intel/sys/machelf.h => usr/src/uts/common/sys/machelf.h
Diffstat (limited to 'usr/src/cmd/sgs/rtld/common/object.c')
| -rw-r--r-- | usr/src/cmd/sgs/rtld/common/object.c | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/usr/src/cmd/sgs/rtld/common/object.c b/usr/src/cmd/sgs/rtld/common/object.c index ec5968d7b9..a654b632f2 100644 --- a/usr/src/cmd/sgs/rtld/common/object.c +++ b/usr/src/cmd/sgs/rtld/common/object.c @@ -79,8 +79,15 @@ elf_obj_init(Lm_list *lml, Aliste lmco, const char *name) return (0); /* - * Obtain a generic set of entrance criteria (this is the first call to - * libld.so, which will effectively lazyload it). + * Configure libld.so to process objects of the desired target + * type (this is the first call to libld.so, which will effectively + * lazyload it). + */ + if (ld_init_target(lml, M_MACH) != 0) + return (0); + + /* + * Obtain a generic set of entrance criteria */ if (ld_ent_setup(ofl, syspagsz) == S_ERROR) return (0); |
