Changeset 2c4e1cc in mainline for uspace/lib/c/arch/ia64/_link.ld.in


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/ia64/_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
     
    5455
    5556        .tdata : {
    56                 _tdata_start = .;
    5757                *(.tdata);
    58                 _tdata_end = .;
    59                 _tbss_start = .;
     58                *(.tdata.*);
     59                *(.gnu.linkonce.td.*);
     60        } :data :tls
     61
     62        .tbss : {
    6063                *(.tbss);
    61                 _tbss_end = .;
    62         } :data
    63 
    64         _tls_alignment = ALIGNOF(.tdata);
     64                *(.tbss.*);
     65                *(.gnu.linkonce.tb.*);
     66        } :data :tls
    6567
    6668        .bss : {
Note: See TracChangeset for help on using the changeset viewer.