Ignore:
Timestamp:
2018-07-05T21:41:25Z (6 years ago)
Author:
Dzejrou <dzejrou@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
c12d567
Parents:
d62d2c6
git-author:
Dzejrou <dzejrou@…> (2018-06-25 21:52:29)
git-committer:
Dzejrou <dzejrou@…> (2018-07-05 21:41:25)
Message:

cpp+c: added missing linker script modifications and fixed some compile errors for different architectures

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/c/arch/abs32le/_link.ld.in

    rd62d2c6 r09553a0  
    5555        } :data
    5656
     57    __dso_handle = .;
     58
     59        .init_array : {
     60                PROVIDE_HIDDEN (__init_array_start = .);
     61                KEEP (*(SORT_BY_INIT_PRIORITY(.init_array.*) SORT_BY_INIT_PRIORITY(.ctors.*)))
     62                KEEP (*(.init_array .ctors))
     63                PROVIDE_HIDDEN (__init_array_end = .);
     64        }
     65
     66        .fini_array : {
     67                PROVIDE_HIDDEN (__fini_array_start = .);
     68                KEEP (*(SORT_BY_INIT_PRIORITY(.fini_array.*) SORT_BY_INIT_PRIORITY(.dtors.*)))
     69                KEEP (*(.fini_array .dtors))
     70                PROVIDE_HIDDEN (__fini_array_end = .);
     71        }
     72
    5773        _end = .;
    5874
Note: See TracChangeset for help on using the changeset viewer.