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


Ignore:
Timestamp:
2018-07-11T17:45:30Z (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:
99d3123
Parents:
c2c4127
git-author:
Jiří Zárevúcky <jiri.zarevucky@…> (2018-07-11 17:08:12)
git-committer:
Jiří Zárevúcky <jiri.zarevucky@…> (2018-07-11 17:45:30)
Message:

Remove undefined references to main program from shared libc.

File:
1 edited

Legend:

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

    rc2c4127 r2eadda9  
    6565
    6666        .init_array : {
     67#ifndef SHLIB
    6768                PROVIDE_HIDDEN (__init_array_start = .);
     69#endif
    6870                KEEP (*(SORT_BY_INIT_PRIORITY(.init_array.*) SORT_BY_INIT_PRIORITY(.ctors.*)))
    6971                KEEP (*(.init_array .ctors))
     72#ifndef SHLIB
    7073                PROVIDE_HIDDEN (__init_array_end = .);
     74#endif
    7175        }
    7276
    7377        .fini_array : {
     78#ifndef SHLIB
    7479                PROVIDE_HIDDEN (__fini_array_start = .);
     80#endif
    7581                KEEP (*(SORT_BY_INIT_PRIORITY(.fini_array.*) SORT_BY_INIT_PRIORITY(.dtors.*)))
    7682                KEEP (*(.fini_array .dtors))
     83#ifndef SHLIB
    7784                PROVIDE_HIDDEN (__fini_array_end = .);
     85#endif
    7886        }
    7987
Note: See TracChangeset for help on using the changeset viewer.