Changeset 3bacee1 in mainline for uspace/lib/c/generic/elf/elf_mod.c


Ignore:
Timestamp:
2018-04-12T16:27:17Z (7 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
3cf22f9
Parents:
76d0981d
git-author:
Jiri Svoboda <jiri@…> (2018-04-11 19:25:33)
git-committer:
Jiri Svoboda <jiri@…> (2018-04-12 16:27:17)
Message:

Make ccheck-fix again and commit more good files.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/c/generic/elf/elf_mod.c

    r76d0981d r3bacee1  
    273273                // FIXME: This actually won't work, because the text segment is
    274274                // not loaded yet.
    275                 #if 0
     275#if 0
    276276                if (elf->info->interp[entry->p_filesz - 1] != '\0') {
    277277                        DPRINTF("Unterminated ELF interp string.\n");
     
    279279                }
    280280                DPRINTF("interpreter: \"%s\"\n", elf->info->interp);
    281                 #endif
     281#endif
    282282                break;
    283283        case PT_DYNAMIC:
     
    286286                    (void *)((uint8_t *)entry->p_vaddr + elf->bias);
    287287                DPRINTF("dynamic section found at %p\n",
    288                         (void *)elf->info->dynamic);
     288                    (void *)elf->info->dynamic);
    289289                break;
    290290        case 0x70000000:
     
    334334
    335335        DPRINTF("Load segment at addr %p, size 0x%zx\n", (void *) seg_addr,
    336                 entry->p_memsz);
     336            entry->p_memsz);
    337337
    338338        if (entry->p_align > 1) {
     
    394394         * need to set the right access mode and ensure SMC coherence.
    395395         */
    396         if ((elf->flags & ELDF_RW) != 0) return EE_OK;
     396        if ((elf->flags & ELDF_RW) != 0)
     397                return EE_OK;
    397398
    398399//      printf("set area flags to %d\n", flags);
Note: See TracChangeset for help on using the changeset viewer.