Changeset 2c4e1cc in mainline for uspace/lib/c/arch/ia32/_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/ia32/_link.ld.in

    r1433ecda r2c4e1cc  
    9999
    100100        .tdata : {
    101                 _tdata_start = .;
    102101                *(.tdata);
    103                 *(.gnu.linkonce.tb.*);
    104                 _tdata_end = .;
    105         } :data :tls
    106         .tbss : {
    107                 _tbss_start = .;
    108                 *(.tbss);
    109                 _tbss_end = .;
     102                *(.tdata.*);
     103                *(.gnu.linkonce.td.*);
    110104        } :data :tls
    111105
    112         _tls_alignment = MAX(ALIGNOF(.tdata), ALIGNOF(.tbss));
     106        .tbss : {
     107                *(.tbss);
     108                *(.tbss.*);
     109                *(.gnu.linkonce.tb.*);
     110        } :data :tls
    113111
    114112        .bss : {
Note: See TracChangeset for help on using the changeset viewer.