Changeset 20287223 in mainline for uspace/lib/c/arch
- Timestamp:
- 2018-04-10T18:51:14Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- ae84e38
- Parents:
- 57d44dd
- Location:
- uspace/lib/c/arch
- Files:
-
- 9 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/arch/abs32le/_link.ld.in
r57d44dd r20287223 3 3 4 4 PHDRS { 5 #ifdef LOADER6 interp PT_INTERP;7 #endif8 5 text PT_LOAD FILEHDR PHDRS FLAGS(5); 9 6 data PT_LOAD FLAGS(6); … … 12 9 13 10 SECTIONS { 14 #ifdef LOADER15 . = SEGMENT_START("text-segment", 0x70400000);16 #else17 11 . = SEGMENT_START("text-segment", 0x400000); 18 #endif19 12 #ifndef SHLIB 20 13 PROVIDE (__executable_start = .); … … 26 19 *(.rodata .rodata.*); 27 20 } :text 28 29 #ifdef LOADER30 .interp : {31 *(.interp);32 } :interp :text33 #endif34 21 35 22 . = . + 0x1000; -
uspace/lib/c/arch/amd64/_link.ld.in
r57d44dd r20287223 3 3 4 4 PHDRS { 5 #ifdef LOADER6 interp PT_INTERP;7 #endif8 5 text PT_LOAD FILEHDR PHDRS FLAGS(5); 9 6 data PT_LOAD FLAGS(6); … … 13 10 14 11 SECTIONS { 15 #ifdef LOADER16 . = SEGMENT_START("text-segment", 0x70400000);17 #else18 12 . = SEGMENT_START("text-segment", 0x400000); 19 #endif20 13 #ifndef SHLIB 21 14 PROVIDE (__executable_start = .); … … 31 24 *(.rodata .rodata.*); 32 25 } :text 33 34 #ifdef LOADER35 .interp : {36 *(.interp);37 } :interp :text38 #endif39 26 40 27 . = . + 0x1000; -
uspace/lib/c/arch/arm32/_link.ld.in
r57d44dd r20287223 3 3 4 4 PHDRS { 5 #ifdef LOADER6 interp PT_INTERP;7 #endif8 5 text PT_LOAD FILEHDR PHDRS FLAGS(5); 9 6 data PT_LOAD FLAGS(6); … … 12 9 13 10 SECTIONS { 14 #ifdef LOADER15 . = SEGMENT_START("text-segment", 0x70400000);16 #else17 11 . = SEGMENT_START("text-segment", 0x400000); 18 #endif19 12 #ifndef SHLIB 20 13 PROVIDE (__executable_start = .); … … 30 23 *(.rodata .rodata.*); 31 24 } :text 32 33 #ifdef LOADER34 .interp : {35 *(.interp);36 } :interp :text37 #endif38 25 39 26 . = . + 0x1000; -
uspace/lib/c/arch/ia32/_link.ld.in
r57d44dd r20287223 5 5 6 6 PHDRS { 7 #if defined( LOADER) || defined(DLEXE)7 #if defined(DLEXE) 8 8 interp PT_INTERP; 9 9 #endif … … 18 18 19 19 SECTIONS { 20 #ifdef LOADER21 . = SEGMENT_START("text-segment", 0x70400000);22 #else23 20 . = SEGMENT_START("text-segment", 0x400000); 24 #endif25 21 #ifndef SHLIB 26 22 PROVIDE (__executable_start = .); … … 66 62 #endif 67 63 68 #if defined( LOADER) || defined(DLEXE)64 #if defined(DLEXE) 69 65 .interp : { 70 66 *(.interp); -
uspace/lib/c/arch/ia64/_link.ld.in
r57d44dd r20287223 3 3 4 4 PHDRS { 5 #ifdef LOADER6 interp PT_INTERP;7 #endif8 5 text PT_LOAD FILEHDR PHDRS FLAGS(5); 9 6 data PT_LOAD FLAGS(6); … … 12 9 13 10 SECTIONS { 14 #ifdef LOADER15 . = SEGMENT_START("text-segment", 0x8000000000);16 #else17 11 . = SEGMENT_START("text-segment", 0x400000); 18 #endif19 12 #ifndef SHLIB 20 13 PROVIDE (__executable_start = .); … … 33 26 *(.rodata .rodata.*); 34 27 } :text 35 36 #ifdef LOADER37 .interp : {38 *(.interp);39 } :interp :text40 #endif41 28 42 29 . = . + 0x4000; -
uspace/lib/c/arch/mips32/_link.ld.in
r57d44dd r20287223 3 3 4 4 PHDRS { 5 #ifdef LOADER6 interp PT_INTERP;7 #endif8 5 text PT_LOAD FILEHDR PHDRS FLAGS(5); 9 6 data PT_LOAD FLAGS(6); … … 12 9 13 10 SECTIONS { 14 #ifdef LOADER15 . = SEGMENT_START("text-segment", 0x70400000);16 #else17 11 . = SEGMENT_START("text-segment", 0x400000); 18 #endif19 12 #ifndef SHLIB 20 13 PROVIDE (__executable_start = .); … … 30 23 *(.rodata .rodata.*); 31 24 } :text 32 33 #ifdef LOADER34 .interp : {35 *(.interp);36 } :interp :text37 #endif38 25 39 26 . = . + 0x4000; -
uspace/lib/c/arch/ppc32/_link.ld.in
r57d44dd r20287223 3 3 4 4 PHDRS { 5 #ifdef LOADER6 interp PT_INTERP;7 #endif8 5 text PT_LOAD FILEHDR PHDRS FLAGS(5); 9 6 data PT_LOAD FLAGS(6); … … 13 10 14 11 SECTIONS { 15 #ifdef LOADER16 . = SEGMENT_START("text-segment", 0x70400000);17 #else18 12 . = SEGMENT_START("text-segment", 0x400000); 19 #endif20 13 #ifndef SHLIB 21 14 PROVIDE (__executable_start = .); … … 31 24 *(.rodata .rodata.*); 32 25 } :text 33 34 #ifdef LOADER35 .interp : {36 *(.interp);37 } :interp :text38 #endif39 26 40 27 . = . + 0x1000; -
uspace/lib/c/arch/riscv64/_link.ld.in
r57d44dd r20287223 3 3 4 4 PHDRS { 5 #ifdef LOADER6 interp PT_INTERP;7 #endif8 5 text PT_LOAD FILEHDR PHDRS FLAGS(5); 9 6 data PT_LOAD FLAGS(6); … … 13 10 14 11 SECTIONS { 15 #ifdef LOADER16 . = SEGMENT_START("text-segment", 0x70400000);17 #else18 12 . = SEGMENT_START("text-segment", 0x400000); 19 #endif20 13 #ifndef SHLIB 21 14 PROVIDE (__executable_start = .); … … 28 21 *(.srodata .srodata.*); 29 22 } :text 30 31 #ifdef LOADER32 .interp : {33 *(.interp);34 } :interp :text35 #endif36 23 37 24 . = . + 0x1000; -
uspace/lib/c/arch/sparc64/_link.ld.in
r57d44dd r20287223 3 3 4 4 PHDRS { 5 #ifdef LOADER6 interp PT_INTERP;7 #endif8 5 text PT_LOAD FILEHDR PHDRS FLAGS(5); 9 6 data PT_LOAD FLAGS(6); … … 13 10 14 11 SECTIONS { 15 #ifdef LOADER16 . = SEGMENT_START("text-segment", 0x70400000);17 #else18 12 . = SEGMENT_START("text-segment", 0x400000); 19 #endif20 13 #ifndef SHLIB 21 14 PROVIDE (__executable_start = .); … … 31 24 *(.rodata .rodata.*); 32 25 } :text 33 34 #ifdef LOADER35 .interp : {36 *(.interp);37 } :interp :text38 #endif39 26 40 27 . = . + 0x4000;
Note:
See TracChangeset
for help on using the changeset viewer.