Changes in uspace/lib/c/arch/ia32/_link.ld.in [5e8b881:54146a0] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/arch/ia32/_link.ld.in
r5e8b881 r54146a0 1 #ifndef SHLIB 1 2 STARTUP(LIBC_PATH/arch/UARCH/src/entry.o) 2 3 ENTRY(__entry) 4 #endif 3 5 4 6 PHDRS { 7 #if defined(LOADER) || defined(DLEXE) 8 interp PT_INTERP; 9 text PT_LOAD FILEHDR PHDRS FLAGS(5); 10 #else 5 11 text PT_LOAD FLAGS(5); 12 #endif 6 13 data PT_LOAD FLAGS(6); 14 #if defined(SHLIB) || defined(DLEXE) 15 dynamic PT_DYNAMIC; 16 #endif 7 17 debug PT_NOTE; 8 18 } 9 19 10 20 SECTIONS { 21 #if defined(LOADER) || defined(DLEXE) 22 .interp : { 23 *(.interp); 24 } :interp 25 #endif 26 #ifdef LOADER 27 . = 0x70001000 + SIZEOF_HEADERS; 28 #else 11 29 . = 0x1000 + SIZEOF_HEADERS; 12 30 #endif 13 31 .init : { 14 32 *(.init); … … 16 34 17 35 .text : { 18 *(.text); 19 *(.rodata*); 36 *(.text .text.*); 37 *(.rodata .rodata.*); 38 } :text 39 40 #if defined(SHLIB) || defined(DLEXE) 41 .rel.plt : { 42 *(.rel.plt); 43 } 44 /* 45 *.rel.dyn MUST FOLLOW IMMEDIATELY after .rel.plt 46 * without alignment gap or DT_REL will be broken 47 */ 48 .rel.dyn : { 49 *(.rel.*); 20 50 } :text 21 51 52 .plt : { 53 *(.plt); 54 } :text 55 56 .dynsym : { 57 *(.dynsym); 58 } :text 59 60 .dynstr : { 61 *(.dynstr); 62 } :text 63 64 .hash : { 65 *(.hash); 66 } :text 67 #endif 22 68 . = . + 0x1000; 69 70 #if defined(SHLIB) || defined(DLEXE) 71 .dynamic : { 72 *(.dynamic); 73 } :data :dynamic 74 #endif 23 75 24 76 .data : { … … 26 78 } :data 27 79 80 #if defined(SHLIB) || defined(DLEXE) 81 .data.rel : { 82 *(.data.rel .data.rel.*); 83 } :data 84 85 .got : { 86 *(.got); 87 } :data 88 .got.plt : { 89 *(.got.plt); 90 } :data 91 #endif 92 93 #ifndef DLEXE 28 94 .tdata : { 29 95 _tdata_start = .; … … 37 103 38 104 _tls_alignment = ALIGNOF(.tdata); 105 #endif 39 106 40 107 .bss : { 108 *(.dynbss); 41 109 *(COMMON); 42 110 *(.bss);
Note:
See TracChangeset
for help on using the changeset viewer.