Changeset 6adb775f in mainline for uspace/lib/c/include/elf/elf_mod.h


Ignore:
Timestamp:
2016-04-25T16:46:31Z (8 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
32573ff
Parents:
dc0d8b52
Message:

TLS for dynamically linked executables and initially loaded DSOs (but must not call dlopen or there will be trouble).

File:
1 edited

Legend:

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

    rdc0d8b52 r6adb775f  
    5858} eld_flags_t;
    5959
     60/** TLS info for a module */
     61typedef struct {
     62        /** tdata section image */
     63        void *tdata;
     64        /** Size of tdata section image in bytes */
     65        size_t tdata_size;
     66        /** Size of tbss section */
     67        size_t tbss_size;
     68} elf_tls_info_t;
     69
    6070/**
    6171 * Some data extracted from the headers are stored here
     
    7080        /** Pointer to the dynamic section */
    7181        void *dynamic;
     82
     83        /** TLS info */
     84        elf_tls_info_t tls;
    7285} elf_finfo_t;
    7386
Note: See TracChangeset for help on using the changeset viewer.