Changes in uspace/lib/c/arch/ia64/_link.ld.in [63f8966:a1fdf53] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/arch/ia64/_link.ld.in
r63f8966 ra1fdf53 3 3 4 4 PHDRS { 5 #ifdef LOADER 6 interp PT_INTERP; 5 7 text PT_LOAD FLAGS(5); 8 #else 9 text PT_LOAD FLAGS(5); 10 #endif 6 11 data PT_LOAD FLAGS(6); 7 12 } 8 13 9 14 SECTIONS { 15 #ifdef LOADER 16 .interp : { 17 *(.interp); 18 } :interp 19 20 . = 0x800000000 + SIZEOF_HEADERS; 21 #else 10 22 . = 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); 11 29 12 30 .init : { 13 31 *(.init); 14 } : text 32 } :text 33 15 34 .text : { 16 *(.text );17 *(.rodata *);35 *(.text .text.*); 36 *(.rodata .rodata.*); 18 37 } :text 19 38 20 39 . = . + 0x4000; 21 40 22 41 .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 26 47 .data : { 27 48 *(.opd); … … 29 50 *(.sdata); 30 51 } :data 52 31 53 .tdata : { 32 54 _tdata_start = .; … … 37 59 _tbss_end = .; 38 60 } :data 61 39 62 _tls_alignment = ALIGNOF(.tdata); 63 40 64 .bss : { 41 65 *(.sbss); … … 44 68 *(.bss); 45 69 } :data 46 47 . = ALIGN(0x4000); 48 _heap = .; 49 70 50 71 /DISCARD/ : { 51 72 *(*); 52 73 } 53 74 }
Note:
See TracChangeset
for help on using the changeset viewer.