Ignore:
Timestamp:
2018-04-04T17:01:18Z (6 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/arch/abs32le/_link.ld.in

    r1433ecda r2c4e1cc  
    88        text PT_LOAD FILEHDR PHDRS FLAGS(5);
    99        data PT_LOAD FLAGS(6);
     10        tls PT_TLS;
    1011}
    1112
     
    4041
    4142        .tdata : {
    42                 _tdata_start = .;
    4343                *(.tdata);
     44                *(.tdata.*);
     45                *(.gnu.linkonce.td.*);
     46        } :data :tls
     47
     48        .tbss : {
     49                *(.tbss);
     50                *(.tbss.*);
    4451                *(.gnu.linkonce.tb.*);
    45                 _tdata_end = .;
    46                 _tbss_start = .;
    47                 *(.tbss);
    48                 _tbss_end = .;
    49         } :data
    50 
    51         _tls_alignment = ALIGNOF(.tdata);
     52        } :data :tls
    5253
    5354        .sbss : {
Note: See TracChangeset for help on using the changeset viewer.