Ignore:
File:
1 edited

Legend:

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

    r5e8b881 ra1fdf53  
    33
    44PHDRS {
     5#ifdef LOADER
     6        interp PT_INTERP;
    57        text PT_LOAD FLAGS(5);
     8#else
     9        text PT_LOAD FLAGS(5);
     10#endif
    611        data PT_LOAD FLAGS(6);
    712}
    813
    914SECTIONS {
     15#ifdef LOADER
     16        .interp : {
     17                *(.interp);
     18        } :interp
     19       
     20        . = 0x800000000 + SIZEOF_HEADERS;
     21#else
    1022        . = 0x4000 + SIZEOF_HEADERS;
    11        
     23#endif
     24        /*
     25         * XXX This is just a work around. Problem: .init section does not
     26         * have the proper alignment.
     27         */
     28        . = ALIGN(., 16);
     29
    1230        .init : {
    1331                *(.init);
     
    1533       
    1634        .text : {
    17                 *(.text);
    18                 *(.rodata*);
     35                *(.text .text.*);
     36                *(.rodata .rodata.*);
    1937        } :text
    2038       
     
    2240       
    2341        .got : {
    24                 _gp = .;
    25                 *(.got*);
     42                /* Tell the linker where we expect GP to point. */
     43                __gp = .;
     44                *(.got .got.*);
    2645        } :data
    2746       
Note: See TracChangeset for help on using the changeset viewer.