diff options
author | Eric Andersen <andersen@codepoet.org> | 2001-05-10 04:24:33 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2001-05-10 04:24:33 +0000 |
commit | 94076588356793a7a99ec10ce16c19f152e34c1d (patch) | |
tree | 42865d395596add0d9fb459c7b081b85dd9691d0 /ldso | |
parent | 8d9ef2675702a7c9c28008b0bff356bcc2783ac4 (diff) |
minor formatting cleanups
Diffstat (limited to 'ldso')
-rw-r--r-- | ldso/ldso/i386/elfinterp.c | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/ldso/ldso/i386/elfinterp.c b/ldso/ldso/i386/elfinterp.c index 6ddf92f1c..9fc88eed9 100644 --- a/ldso/ldso/i386/elfinterp.c +++ b/ldso/ldso/i386/elfinterp.c @@ -179,8 +179,7 @@ int _dl_parse_relocation_information(struct elf_resolve *tpnt, rpnt = (Elf32_Rel *) (rel_addr + tpnt->loadaddr); rel_size = rel_size / sizeof(Elf32_Rel); - symtab = - (Elf32_Sym *) (tpnt->dynamic_info[DT_SYMTAB] + tpnt->loadaddr); + symtab = (Elf32_Sym *) (tpnt->dynamic_info[DT_SYMTAB] + tpnt->loadaddr); strtab = (char *) (tpnt->dynamic_info[DT_STRTAB] + tpnt->loadaddr); for (i = 0; i < rel_size; i++, rpnt++) { @@ -198,8 +197,7 @@ int _dl_parse_relocation_information(struct elf_resolve *tpnt, _dl_symbol(strtab + symtab[symtab_index].st_name)) continue; - symbol_addr = (unsigned long) - _dl_find_hash(strtab + symtab[symtab_index].st_name, + symbol_addr = (unsigned long) _dl_find_hash(strtab + symtab[symtab_index].st_name, tpnt->symbol_scope, (unsigned long) reloc_addr, (reloc_type == R_386_JMP_SLOT ? tpnt : NULL), 0); @@ -209,8 +207,7 @@ int _dl_parse_relocation_information(struct elf_resolve *tpnt, * here, so all bases should be covered. */ if (!symbol_addr && - ELF32_ST_BIND(symtab[symtab_index].st_info) == - STB_GLOBAL) { + ELF32_ST_BIND(symtab[symtab_index].st_info) == STB_GLOBAL) { _dl_fdprintf(2, "%s: can't resolve symbol '%s'\n", _dl_progname, strtab + symtab[symtab_index].st_name); goof++; |