Changes in uspace/srv/loader/arch/amd64/_link.ld.in [5e8b881:fcd7053] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/loader/arch/amd64/_link.ld.in
r5e8b881 rfcd7053 1 /*2 * The difference from _link.ld.in for regular statically-linked apps3 * is the base address and the special interp section.4 */5 6 1 STARTUP(LIBC_PREFIX/arch/UARCH/src/entry.o) 7 2 ENTRY(__entry) … … 11 6 text PT_LOAD FLAGS(5); 12 7 data PT_LOAD FLAGS(6); 13 debug PT_NOTE;14 8 } 15 9 … … 17 11 .interp : { 18 12 *(.interp); 19 } : interp20 21 /* . = 0x0000700000001000; 13 } : interp 14 15 /* . = 0x0000700000001000;*/ 22 16 . = 0x70001000; 23 17 … … 25 19 *(.init); 26 20 } :text 27 28 21 .text : { 29 22 *(.text); … … 34 27 *(.data); 35 28 } :data 36 37 29 .tdata : { 38 30 _tdata_start = .; … … 40 32 _tdata_end = .; 41 33 } :data 42 43 34 .tbss : { 44 35 _tbss_start = .; … … 46 37 _tbss_end = .; 47 38 } :data 48 49 39 _tls_alignment = MAX(ALIGNOF(.tdata), ALIGNOF(.tbss)); 50 51 40 .bss : { 52 41 *(COMMON); 53 42 *(.bss); 54 43 } :data 55 56 #ifdef CONFIG_LINE_DEBUG 57 .comment 0 : { *(.comment); } :debug 58 .debug_abbrev 0 : { *(.debug_abbrev); } :debug 59 .debug_aranges 0 : { *(.debug_aranges); } :debug 60 .debug_info 0 : { *(.debug_info); } :debug 61 .debug_line 0 : { *(.debug_line); } :debug 62 .debug_loc 0 : { *(.debug_loc); } :debug 63 .debug_pubnames 0 : { *(.debug_pubnames); } :debug 64 .debug_pubtypes 0 : { *(.debug_pubtypes); } :debug 65 .debug_ranges 0 : { *(.debug_ranges); } :debug 66 .debug_str 0 : { *(.debug_str); } :debug 67 #endif 44 45 . = ALIGN(0x1000); 46 _heap = .; 68 47 69 48 /DISCARD/ : { 70 49 *(*); 71 50 } 51 72 52 }
Note:
See TracChangeset
for help on using the changeset viewer.