Changeset 47b2d7e3 in mainline
- Timestamp:
- 2018-03-30T21:35:15Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 1433ecda
- Parents:
- 5b8f731
- Location:
- uspace/lib/c/arch
- Files:
-
- 9 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/arch/abs32le/_link.ld.in
r5b8f731 r47b2d7e3 5 5 #ifdef LOADER 6 6 interp PT_INTERP; 7 #endif 7 8 text PT_LOAD FILEHDR PHDRS FLAGS(5); 8 #else9 text PT_LOAD FLAGS(5);10 #endif11 9 data PT_LOAD FLAGS(6); 12 10 } … … 14 12 SECTIONS { 15 13 #ifdef LOADER 16 . = 0x70001000 + SIZEOF_HEADERS;14 . = SEGMENT_START("text-segment", 0x70400000); 17 15 #else 18 . = 0x1000 + SIZEOF_HEADERS;16 . = SEGMENT_START("text-segment", 0x400000); 19 17 #endif 18 #ifndef SHLIB 19 PROVIDE (__executable_start = .); 20 #endif 21 . = . + SIZEOF_HEADERS; 20 22 21 23 .text : { -
uspace/lib/c/arch/amd64/_link.ld.in
r5b8f731 r47b2d7e3 5 5 #ifdef LOADER 6 6 interp PT_INTERP; 7 #endif 7 8 text PT_LOAD FILEHDR PHDRS FLAGS(5); 8 #else9 text PT_LOAD FLAGS(5);10 #endif11 9 data PT_LOAD FLAGS(6); 12 10 debug PT_NOTE; … … 15 13 SECTIONS { 16 14 #ifdef LOADER 17 . = 0x70001000 + SIZEOF_HEADERS;15 . = SEGMENT_START("text-segment", 0x70400000); 18 16 #else 19 . = 0x1000 + SIZEOF_HEADERS;17 . = SEGMENT_START("text-segment", 0x400000); 20 18 #endif 19 #ifndef SHLIB 20 PROVIDE (__executable_start = .); 21 #endif 22 . = . + SIZEOF_HEADERS; 21 23 22 24 .init : { -
uspace/lib/c/arch/arm32/_link.ld.in
r5b8f731 r47b2d7e3 5 5 #ifdef LOADER 6 6 interp PT_INTERP; 7 #endif 7 8 text PT_LOAD FILEHDR PHDRS FLAGS(5); 8 #else9 text PT_LOAD FLAGS(5);10 #endif11 9 data PT_LOAD FLAGS(6); 12 10 } … … 14 12 SECTIONS { 15 13 #ifdef LOADER 16 . = 0x70001000 + SIZEOF_HEADERS;14 . = SEGMENT_START("text-segment", 0x70400000); 17 15 #else 18 . = 0x1000 + SIZEOF_HEADERS;16 . = SEGMENT_START("text-segment", 0x400000); 19 17 #endif 18 #ifndef SHLIB 19 PROVIDE (__executable_start = .); 20 #endif 21 . = . + SIZEOF_HEADERS; 20 22 21 23 .init : { -
uspace/lib/c/arch/ia32/_link.ld.in
r5b8f731 r47b2d7e3 7 7 #if defined(LOADER) || defined(DLEXE) 8 8 interp PT_INTERP; 9 #endif 9 10 text PT_LOAD FILEHDR PHDRS FLAGS(5); 10 #else11 text PT_LOAD FLAGS(5);12 #endif13 11 data PT_LOAD FLAGS(6); 14 12 tls PT_TLS; … … 21 19 SECTIONS { 22 20 #ifdef LOADER 23 . = 0x70001000 + SIZEOF_HEADERS;21 . = SEGMENT_START("text-segment", 0x70400000); 24 22 #else 25 . = 0x1000 + SIZEOF_HEADERS;23 . = SEGMENT_START("text-segment", 0x400000); 26 24 #endif 25 #ifndef SHLIB 26 PROVIDE (__executable_start = .); 27 #endif 28 . = . + SIZEOF_HEADERS; 27 29 28 30 .init : { -
uspace/lib/c/arch/ia64/_link.ld.in
r5b8f731 r47b2d7e3 5 5 #ifdef LOADER 6 6 interp PT_INTERP; 7 text PT_LOAD FLAGS(5);8 #else9 text PT_LOAD FLAGS(5);10 7 #endif 8 text PT_LOAD FILEHDR PHDRS FLAGS(5); 11 9 data PT_LOAD FLAGS(6); 12 10 } … … 14 12 SECTIONS { 15 13 #ifdef LOADER 16 . = 0x800000000 + SIZEOF_HEADERS;14 . = SEGMENT_START("text-segment", 0x8000000000); 17 15 #else 18 . = 0x4000 + SIZEOF_HEADERS;16 . = SEGMENT_START("text-segment", 0x400000); 19 17 #endif 18 #ifndef SHLIB 19 PROVIDE (__executable_start = .); 20 #endif 21 . = . + SIZEOF_HEADERS; 20 22 21 23 /* Workaround proper alignment of the .init section */ -
uspace/lib/c/arch/mips32/_link.ld.in
r5b8f731 r47b2d7e3 5 5 #ifdef LOADER 6 6 interp PT_INTERP; 7 #endif 7 8 text PT_LOAD FILEHDR PHDRS FLAGS(5); 8 #else9 text PT_LOAD FLAGS(5);10 #endif11 9 data PT_LOAD FLAGS(6); 12 10 } … … 14 12 SECTIONS { 15 13 #ifdef LOADER 16 . = 0x70004000 + SIZEOF_HEADERS;14 . = SEGMENT_START("text-segment", 0x70400000); 17 15 #else 18 . = 0x4000 + SIZEOF_HEADERS;16 . = SEGMENT_START("text-segment", 0x400000); 19 17 #endif 18 #ifndef SHLIB 19 PROVIDE (__executable_start = .); 20 #endif 21 . = . + SIZEOF_HEADERS; 20 22 21 23 .init : { -
uspace/lib/c/arch/ppc32/_link.ld.in
r5b8f731 r47b2d7e3 5 5 #ifdef LOADER 6 6 interp PT_INTERP; 7 #endif 7 8 text PT_LOAD FILEHDR PHDRS FLAGS(5); 8 #else9 text PT_LOAD FLAGS(5);10 #endif11 9 data PT_LOAD FLAGS(6); 12 10 debug PT_NOTE; … … 15 13 SECTIONS { 16 14 #ifdef LOADER 17 . = 0x70001000 + SIZEOF_HEADERS;15 . = SEGMENT_START("text-segment", 0x70400000); 18 16 #else 19 . = 0x1000 + SIZEOF_HEADERS;17 . = SEGMENT_START("text-segment", 0x400000); 20 18 #endif 19 #ifndef SHLIB 20 PROVIDE (__executable_start = .); 21 #endif 22 . = . + SIZEOF_HEADERS; 21 23 22 24 .init : { -
uspace/lib/c/arch/riscv64/_link.ld.in
r5b8f731 r47b2d7e3 5 5 #ifdef LOADER 6 6 interp PT_INTERP; 7 #endif 7 8 text PT_LOAD FILEHDR PHDRS FLAGS(5); 8 #else9 text PT_LOAD FLAGS(5);10 #endif11 9 data PT_LOAD FLAGS(6); 12 10 debug PT_NOTE; … … 15 13 SECTIONS { 16 14 #ifdef LOADER 17 . = 0x70001000 + SIZEOF_HEADERS;15 . = SEGMENT_START("text-segment", 0x70400000); 18 16 #else 19 . = 0x1000 + SIZEOF_HEADERS;17 . = SEGMENT_START("text-segment", 0x400000); 20 18 #endif 19 #ifndef SHLIB 20 PROVIDE (__executable_start = .); 21 #endif 22 . = . + SIZEOF_HEADERS; 21 23 22 24 .text : { -
uspace/lib/c/arch/sparc64/_link.ld.in
r5b8f731 r47b2d7e3 5 5 #ifdef LOADER 6 6 interp PT_INTERP; 7 #endif 7 8 text PT_LOAD FILEHDR PHDRS FLAGS(5); 8 #else9 text PT_LOAD FLAGS(5);10 #endif11 9 data PT_LOAD FLAGS(6); 12 10 debug PT_NOTE; … … 15 13 SECTIONS { 16 14 #ifdef LOADER 17 . = 0x70004000 + SIZEOF_HEADERS;15 . = SEGMENT_START("text-segment", 0x70400000); 18 16 #else 19 . = 0x4000 + SIZEOF_HEADERS;17 . = SEGMENT_START("text-segment", 0x400000); 20 18 #endif 19 #ifndef SHLIB 20 PROVIDE (__executable_start = .); 21 #endif 22 . = . + SIZEOF_HEADERS; 21 23 22 24 .init : {
Note:
See TracChangeset
for help on using the changeset viewer.