Changeset 742fc98e in mainline for uspace/lib/c/include/elf/elf_mod.h


Ignore:
Timestamp:
2018-05-01T19:03:38Z (7 years ago)
Author:
GitHub <noreply@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
6e33c2f, 924786bf
Parents:
009c485
git-author:
Jiří Zárevúcky <zarevucky.jiri@…> (2018-05-01 19:03:38)
git-committer:
GitHub <noreply@…> (2018-05-01 19:03:38)
Message:

Make some effort to allocate the memory area for shared objects. (#33)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/c/include/elf/elf_mod.h

    r009c485 r742fc98e  
    7878        entry_point_t entry;
    7979
     80        /** The base address where the file has been loaded.
     81         *  Points to the ELF file header.
     82         */
     83        void *base;
     84
    8085        /** ELF interpreter name or NULL if statically-linked */
    8186        const char *interp;
     
    101106        eld_flags_t flags;
    102107
    103         /** A copy of the ELF file header */
    104         elf_header_t *header;
    105 
    106108        /** Store extracted info here */
    107109        elf_finfo_t *info;
     
    109111
    110112extern const char *elf_error(unsigned int);
    111 extern int elf_load_file(int, size_t, eld_flags_t, elf_finfo_t *);
    112 extern int elf_load_file_name(const char *, size_t, eld_flags_t, elf_finfo_t *);
     113extern int elf_load_file(int, eld_flags_t, elf_finfo_t *);
     114extern int elf_load_file_name(const char *, eld_flags_t, elf_finfo_t *);
    113115
    114116#endif
Note: See TracChangeset for help on using the changeset viewer.