Ignore:
File:
1 edited

Legend:

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

    r63f8966 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;
     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);
    1129
    1230        .init : {
    1331                *(.init);
    14         } : text
     32        } :text
     33       
    1534        .text : {
    16                 *(.text);
    17                 *(.rodata*);
     35                *(.text .text.*);
     36                *(.rodata .rodata.*);
    1837        } :text
    19 
     38       
    2039        . = . + 0x4000;
    21 
     40       
    2241        .got : {
    23                 _gp = .;
    24                 *(.got*);
    25         } :data
     42                /* Tell the linker where we expect GP to point. */
     43                __gp = .;
     44                *(.got .got.*);
     45        } :data
     46       
    2647        .data : {
    2748                *(.opd);
     
    2950                *(.sdata);
    3051        } :data
     52       
    3153        .tdata : {
    3254                _tdata_start = .;
     
    3759                _tbss_end = .;
    3860        } :data
     61       
    3962        _tls_alignment = ALIGNOF(.tdata);
     63       
    4064        .bss : {
    4165                *(.sbss);
     
    4468                *(.bss);
    4569        } :data
    46 
    47         . = ALIGN(0x4000);
    48         _heap = .;
    49  
     70       
    5071        /DISCARD/ : {
    5172                *(*);
    52         }
     73        }
    5374}
Note: See TracChangeset for help on using the changeset viewer.