Changeset 0783634 in mainline for uspace/lib/c/arch/amd64/_link.ld.in


Ignore:
Timestamp:
2012-09-05T14:47:41Z (12 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
7f8f9fd
Parents:
15c9b26
Message:

place the .interp section behind the other sections in the text segment
the explicit alignment directive (which causes issues such as #491) is no longer needed

File:
1 edited

Legend:

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

    r15c9b26 r0783634  
    1616#ifdef LOADER
    1717        . = 0x70001000 + SIZEOF_HEADERS;
    18        
    19         .interp : {
    20                 *(.interp);
    21         } :interp :text
    2218#else
    2319        . = 0x1000 + SIZEOF_HEADERS;
    2420#endif
    25        
    26         /* Make sure the code is aligned reasonably */
    27         . = ALIGN(., 16);
    2821       
    2922        .init : {
     
    3528                *(.rodata .rodata.*);
    3629        } :text
     30       
     31#ifdef LOADER
     32        .interp : {
     33                *(.interp);
     34        } :interp :text
     35#endif
    3736       
    3837        . = . + 0x1000;
Note: See TracChangeset for help on using the changeset viewer.