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/arch/sparc64/_link.ld.in

    r1433ecda r2c4e1cc  
    88        text PT_LOAD FILEHDR PHDRS FLAGS(5);
    99        data PT_LOAD FLAGS(6);
     10        tls PT_TLS;
    1011        debug PT_NOTE;
    1112}
     
    5051
    5152        .tdata : {
    52                 _tdata_start = .;
    5353                *(.tdata);
    54                 _tdata_end = .;
    55                 _tbss_start = .;
     54                *(.tdata.*);
     55                *(.gnu.linkonce.td.*);
     56        } :data :tls
     57
     58        .tbss : {
    5659                *(.tbss);
    57                 _tbss_end = .;
    58         } :data
    59 
    60         _tls_alignment = ALIGNOF(.tdata);
     60                *(.tbss.*);
     61                *(.gnu.linkonce.tb.*);
     62        } :data :tls
    6163
    6264        .bss : {
Note: See TracChangeset for help on using the changeset viewer.