Changeset 2c4e1cc in mainline for uspace/lib/c/include/tls.h


Ignore:
Timestamp:
2018-04-04T17:01:18Z (7 years ago)
Author:
Jiří Zárevúcky <jiri.zarevucky@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
5754c31e
Parents:
1433ecda
git-author:
Jiří Zárevúcky <jiri.zarevucky@…> (2018-04-03 16:54:34)
git-committer:
Jiří Zárevúcky <jiri.zarevucky@…> (2018-04-04 17:01:18)
Message:

Define TLS consistently in linker scripts, and remove nonstandard symbols.

Read the program header to find TLS instead.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/c/include/tls.h

    r1433ecda r2c4e1cc  
    4343#define DTV_GN(dtv) (((uintptr_t *)(dtv))[0])
    4444
    45 /*
    46  * Symbols defined in the respective linker script.
    47  */
    48 extern char _tls_alignment;
    49 extern char _tdata_start;
    50 extern char _tdata_end;
    51 extern char _tbss_start;
    52 extern char _tbss_end;
    53 
    5445extern tcb_t *tls_make(void);
    5546extern tcb_t *tls_alloc_arch(void **, size_t);
Note: See TracChangeset for help on using the changeset viewer.