Changeset 9bcdbc5 in mainline for uspace/lib/c/arch/ia32/_link.ld.in


Ignore:
Timestamp:
2012-07-31T14:59:17Z (12 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
47a728e1, d4112ba
Parents:
31e6aa7
Message:

make sure the code in .init is always aligned reasonably
(despite .interp section being also present in the text segment)

File:
1 edited

Legend:

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

    r31e6aa7 r9bcdbc5  
    3131#endif
    3232       
     33        /* Make sure the code is aligned reasonably */
     34        . = ALIGN(., 16);
     35       
    3336        .init : {
    3437                *(.init);
     
    3942                *(.rodata .rodata.*);
    4043        } :text
    41 
     44       
    4245#if defined(SHLIB) || defined(DLEXE)
    4346        .rel.plt : {
     
    8285#if defined(SHLIB) || defined(DLEXE)
    8386        .data.rel : {
    84                 *(.data.rel .data.rel.*);
     87                *(.data.rel .data.rel.*);
    8588        } :data
    86 
     89       
    8790        .got : {
    88                 *(.got);
     91                *(.got);
    8992        } :data
     93       
    9094        .got.plt : {
    91                 *(.got.plt);
     95                *(.got.plt);
    9296        } :data
    9397#endif
Note: See TracChangeset for help on using the changeset viewer.