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


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/ppc32/_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}
     
    4546
    4647        .tdata : {
    47                 _tdata_start = .;
    4848                *(.tdata);
    49                 _tdata_end = .;
    50                 _tbss_start = .;
     49                *(.tdata.*);
     50                *(.gnu.linkonce.td.*);
     51        } :data :tls
     52
     53        .tbss : {
    5154                *(.tbss);
    52                 _tbss_end = .;
    53         } :data
    54 
    55         _tls_alignment = ALIGNOF(.tdata);
     55                *(.tbss.*);
     56                *(.gnu.linkonce.tb.*);
     57        } :data :tls
    5658
    5759        .bss : {
Note: See TracChangeset for help on using the changeset viewer.