diff options
author | Mike Frysinger <vapier@gentoo.org> | 2006-02-01 00:14:11 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2006-02-01 00:14:11 +0000 |
commit | ce98b9ce692e73e6ff0a1c059b34a08841f758ee (patch) | |
tree | e92c19bf065f62a1dbb916f95eb80597e1d60e83 /ldso | |
parent | f34cf7cc3ba6fa0de8715cee49b0c6c2da042880 (diff) |
disable lazy code for now
Diffstat (limited to 'ldso')
-rw-r--r-- | ldso/ldso/sparc/elfinterp.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/ldso/ldso/sparc/elfinterp.c b/ldso/ldso/sparc/elfinterp.c index 4becf348b..9b425fcee 100644 --- a/ldso/ldso/sparc/elfinterp.c +++ b/ldso/ldso/sparc/elfinterp.c @@ -308,6 +308,8 @@ reloc_addr[0] = OPCODE_SETHI_G1 | (value >> 10); return 0; } +#undef __SPARC_LAZY_RELOC_WORKS +#ifdef __SPARC_LAZY_RELOC_WORKS static int _dl_do_lazy_reloc(struct elf_resolve *tpnt, struct dyn_elf *scope, ELF_RELOC *rpnt, ElfW(Sym) *symtab, char *strtab) @@ -347,14 +349,18 @@ _dl_do_lazy_reloc(struct elf_resolve *tpnt, struct dyn_elf *scope, return 0; } +#endif void _dl_parse_lazy_relocation_information(struct dyn_elf *rpnt, unsigned long rel_addr, unsigned long rel_size) { -// (void)_dl_parse(rpnt->dyn, NULL, rel_addr, rel_size, _dl_do_lazy_reloc); +#ifdef __SPARC_LAZY_RELOC_WORKS + (void)_dl_parse(rpnt->dyn, NULL, rel_addr, rel_size, _dl_do_lazy_reloc); +#else _dl_parse_relocation_information(rpnt, rel_addr, rel_size); +#endif } int |