Changeset 5e8b881 in mainline
- Timestamp:
- 2011-02-03T20:53:29Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- db11d30
- Parents:
- d88218b
- Location:
- uspace
- Files:
-
- 16 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/arch/abs32le/_link.ld.in
rd88218b r5e8b881 44 44 } :data 45 45 46 . = ALIGN(0x1000);47 48 _heap = .;49 50 46 /DISCARD/ : { 51 47 *(*); -
uspace/lib/c/arch/amd64/_link.ld.in
rd88218b r5e8b881 42 42 } :data 43 43 44 . = ALIGN(0x1000);45 _heap = .;46 47 44 #ifdef CONFIG_LINE_DEBUG 48 45 .comment 0 : { *(.comment); } :debug … … 61 58 *(*); 62 59 } 63 64 60 } -
uspace/lib/c/arch/arm32/_link.ld.in
rd88218b r5e8b881 9 9 SECTIONS { 10 10 . = 0x1000 + SIZEOF_HEADERS; 11 11 12 12 .init : { 13 13 *(.init); 14 } : text 14 } :text 15 15 16 .text : { 16 17 *(.text); 17 18 *(.rodata*); 18 19 } :text 19 20 20 21 . = . + 0x1000; 21 22 22 23 .data : { 23 24 *(.opd); … … 25 26 *(.sdata); 26 27 } :data 28 27 29 .tdata : { 28 30 _tdata_start = .; … … 33 35 _tbss_end = .; 34 36 } :data 37 35 38 _tls_alignment = ALIGNOF(.tdata); 39 36 40 .bss : { 37 41 *(.sbss); 38 42 *(.scommon); 39 40 43 *(COMMON); 44 *(.bss); 41 45 } :data 42 43 . = ALIGN(0x1000);44 _heap = .;45 46 46 47 /DISCARD/ : { 47 48 *(*); 48 49 } 49 50 50 } -
uspace/lib/c/arch/ia32/_link.ld.in
rd88218b r5e8b881 43 43 } :data 44 44 45 . = ALIGN(0x1000);46 _heap = .;47 48 45 #ifdef CONFIG_LINE_DEBUG 49 46 .comment 0 : { *(.comment); } :debug -
uspace/lib/c/arch/ia64/_link.ld.in
rd88218b r5e8b881 9 9 SECTIONS { 10 10 . = 0x4000 + SIZEOF_HEADERS; 11 11 12 12 .init : { 13 13 *(.init); 14 } : text 14 } :text 15 15 16 .text : { 16 17 *(.text); 17 18 *(.rodata*); 18 19 } :text 19 20 20 21 . = . + 0x4000; 21 22 22 23 .got : { 23 24 _gp = .; 24 25 *(.got*); 25 } :data 26 } :data 27 26 28 .data : { 27 29 *(.opd); … … 29 31 *(.sdata); 30 32 } :data 33 31 34 .tdata : { 32 35 _tdata_start = .; … … 37 40 _tbss_end = .; 38 41 } :data 42 39 43 _tls_alignment = ALIGNOF(.tdata); 44 40 45 .bss : { 41 46 *(.sbss); … … 44 49 *(.bss); 45 50 } :data 46 47 . = ALIGN(0x4000); 48 _heap = .; 49 51 50 52 /DISCARD/ : { 51 53 *(*); 52 54 } 53 55 } -
uspace/lib/c/arch/mips32/_link.ld.in
rd88218b r5e8b881 13 13 *(.init); 14 14 } :text 15 15 16 .text : { 16 17 *(.text); 17 18 *(.rodata*); 18 19 } :text 19 20 20 21 . = . + 0x4000; 21 22 22 23 .data : { 23 24 *(.data); 24 25 *(.data.rel*); 25 26 } :data 26 27 27 28 .got : { 28 29 _gp = .; 29 30 *(.got); 30 31 } :data 31 32 32 33 .tdata : { 33 34 _tdata_start = .; 34 35 *(.tdata); 35 36 _tdata_end = .; 37 } :data 38 39 .tbss : { 36 40 _tbss_start = .; 37 41 *(.tbss); 38 42 _tbss_end = .; 39 43 } :data 40 _tls_alignment = ALIGNOF(.tdata); 41 44 45 _tls_alignment = MAX(ALIGNOF(.tdata), ALIGNOF(.tbss)); 46 42 47 .sbss : { 43 48 *(.scommon); 44 49 *(.sbss); 45 } 50 } 51 46 52 .bss : { 47 53 *(.bss); 48 54 *(COMMON); 49 55 } :data 50 51 . = ALIGN(0x4000); 52 _heap = .; 53 56 54 57 /DISCARD/ : { 55 58 *(*); -
uspace/lib/c/arch/ppc32/_link.ld.in
rd88218b r5e8b881 9 9 SECTIONS { 10 10 . = 0x1000 + SIZEOF_HEADERS; 11 11 12 12 .init : { 13 13 *(.init); 14 14 } :text 15 15 16 .text : { 16 17 *(.text); 17 18 *(.rodata*); 18 19 } :text 19 20 20 21 . = . + 0x1000; 21 22 22 23 .data : { 23 24 *(.data); 24 25 *(.sdata); 25 26 } :data 27 26 28 .tdata : { 27 29 _tdata_start = .; … … 32 34 _tbss_end = .; 33 35 } :data 36 34 37 _tls_alignment = ALIGNOF(.tdata); 38 35 39 .bss : { 36 40 *(.sbss); … … 38 42 *(.bss); 39 43 } :data 40 41 . = ALIGN(0x1000);42 _heap = .;43 44 44 45 /DISCARD/ : { 45 46 *(*); 46 47 } 47 48 48 } -
uspace/lib/c/arch/sparc64/_link.ld.in
rd88218b r5e8b881 9 9 SECTIONS { 10 10 . = 0x4000 + SIZEOF_HEADERS; 11 11 12 12 .init : { 13 13 *(.init); 14 14 } :text 15 15 16 .text : { 16 17 *(.text); 17 18 *(.rodata*); 18 19 } :text 19 20 20 21 . = . + 0x4000; 21 22 22 23 .got : { 23 24 _gp = .; 24 25 *(.got*); 25 26 } :data 27 26 28 .data : { 27 29 *(.data); 28 30 *(.sdata); 29 31 } :data 32 30 33 .tdata : { 31 34 _tdata_start = .; … … 36 39 _tbss_end = .; 37 40 } :data 41 38 42 _tls_alignment = ALIGNOF(.tdata); 43 39 44 .bss : { 40 45 *(.sbss); … … 42 47 *(.bss); 43 48 } :data 44 45 . = ALIGN(0x4000);46 _heap = .;47 49 48 50 /DISCARD/ : { 49 51 *(*); 50 52 } 51 52 53 } -
uspace/srv/loader/arch/abs32le/_link.ld.in
rd88218b r5e8b881 3 3 * is the base address and the special interp section. 4 4 */ 5 5 6 STARTUP(LIBC_PREFIX/arch/UARCH/src/entry.o) 6 7 ENTRY(__entry) … … 54 55 } :data 55 56 56 . = ALIGN(0x1000);57 58 _heap = .;59 60 57 /DISCARD/ : { 61 58 *(*); -
uspace/srv/loader/arch/amd64/_link.ld.in
rd88218b r5e8b881 54 54 } :data 55 55 56 . = ALIGN(0x1000);57 _heap = .;58 59 56 #ifdef CONFIG_LINE_DEBUG 60 57 .comment 0 : { *(.comment); } :debug -
uspace/srv/loader/arch/arm32/_link.ld.in
rd88218b r5e8b881 3 3 * is the base address. 4 4 */ 5 5 6 STARTUP(LIBC_PREFIX/arch/UARCH/src/entry.o) 6 7 ENTRY(__entry) … … 16 17 *(.interp); 17 18 } : interp 18 19 19 20 . = 0x70001000; 20 21 21 22 .init ALIGN(0x1000): SUBALIGN(0x1000) { 22 23 *(.init); 23 } : text 24 } :text 25 24 26 .text : { 25 27 *(.text); 26 28 *(.rodata*); 27 29 } :text 28 30 … … 32 34 *(.sdata); 33 35 } :data 36 34 37 .tdata : { 35 38 _tdata_start = .; … … 37 40 _tdata_end = .; 38 41 } :data 42 39 43 .tbss : { 40 44 _tbss_start = .; … … 42 46 _tbss_end = .; 43 47 } :data 48 44 49 _tls_alignment = MAX(ALIGNOF(.tdata), ALIGNOF(.tbss)); 50 45 51 .bss : { 46 52 *(.sbss); 47 53 *(.scommon); 48 49 54 *(COMMON); 55 *(.bss); 50 56 } :data 51 52 . = ALIGN(0x1000);53 _heap = .;54 57 55 58 /DISCARD/ : { 56 59 *(*); 57 60 } 58 59 61 } -
uspace/srv/loader/arch/ia32/_link.ld.in
rd88218b r5e8b881 54 54 } :data 55 55 56 . = ALIGN(0x1000);57 _heap = .;58 59 56 #ifdef CONFIG_LINE_DEBUG 60 57 .comment 0 : { *(.comment); } :debug -
uspace/srv/loader/arch/ia64/_link.ld.in
rd88218b r5e8b881 12 12 *(.interp); 13 13 } :interp 14 14 15 15 /* On Itanium code sections must be aligned to 16 bytes. */ 16 16 . = ALIGN(0x800000000 + SIZEOF_HEADERS, 16); 17 17 18 18 .init : { 19 19 *(.init); 20 } : text 20 } :text 21 21 22 .text : { 22 23 *(.text); 23 24 *(.rodata*); 24 25 } :text 25 26 26 27 . = . + 0x4000; 27 28 28 29 .got : { 29 30 _gp = .; 30 31 *(.got*); 31 } :data 32 } :data 33 32 34 .data : { 33 35 *(.opd); … … 35 37 *(.sdata); 36 38 } :data 39 37 40 .tdata : { 38 41 _tdata_start = .; … … 40 43 _tdata_end = .; 41 44 } :data 45 42 46 .tbss : { 43 47 _tbss_start = .; … … 45 49 _tbss_end = .; 46 50 } :data 51 47 52 _tls_alignment = MAX(ALIGNOF(.tdata), ALIGNOF(.tbss)); 53 48 54 .bss : { 49 55 *(.sbss); … … 52 58 *(.bss); 53 59 } :data 54 55 . = ALIGN(0x4000); 56 _heap = .; 57 60 58 61 /DISCARD/ : { 59 62 *(*); 60 63 } 61 64 } -
uspace/srv/loader/arch/mips32/_link.ld.in
rd88218b r5e8b881 3 3 * is the base address. 4 4 */ 5 5 6 STARTUP(LIBC_PREFIX/arch/UARCH/src/entry.o) 6 7 ENTRY(__entry) … … 16 17 *(.interp); 17 18 } :interp 18 19 19 20 . = 0x70004000; 20 21 … … 22 23 *(.init); 23 24 } :text 25 24 26 .text : { 25 27 *(.text); 26 28 *(.rodata*); 27 29 } :text 28 30 31 . = . + 0x4000; 32 29 33 .data : { 30 34 *(.data); 31 35 *(.data.rel*); 32 36 } :data 33 37 34 38 .got : { 35 39 _gp = .; 36 40 *(.got); 37 41 } :data 38 42 39 43 .tdata : { 40 44 _tdata_start = .; … … 42 46 _tdata_end = .; 43 47 } :data 48 44 49 .tbss : { 45 50 _tbss_start = .; … … 47 52 _tbss_end = .; 48 53 } :data 54 49 55 _tls_alignment = MAX(ALIGNOF(.tdata), ALIGNOF(.tbss)); 50 56 51 57 .sbss : { 52 58 *(.scommon); 53 59 *(.sbss); 54 } 60 } 61 55 62 .bss : { 56 63 *(.bss); 57 64 *(COMMON); 58 65 } :data 59 60 . = ALIGN(0x4000); 61 _heap = .; 62 66 63 67 /DISCARD/ : { 64 68 *(*); -
uspace/srv/loader/arch/ppc32/_link.ld.in
rd88218b r5e8b881 3 3 * is the base address. 4 4 */ 5 5 6 STARTUP(LIBC_PREFIX/arch/UARCH/src/entry.o) 6 7 ENTRY(__entry) … … 16 17 *(.interp); 17 18 } :interp 18 19 19 20 . = 0x70001000; 20 21 21 22 .init ALIGN(0x1000) : SUBALIGN(0x1000) { 22 23 *(.init); 23 24 } :text 25 24 26 .text : { 25 27 *(.text); … … 31 33 *(.sdata); 32 34 } :data 35 33 36 .tdata : { 34 37 _tdata_start = .; … … 36 39 _tdata_end = .; 37 40 } :data 41 38 42 .tbss : { 39 43 _tbss_start = .; … … 41 45 _tbss_end = .; 42 46 } :data 47 43 48 _tls_alignment = MAX(ALIGNOF(.tdata), ALIGNOF(.tbss)); 49 44 50 .bss : { 45 51 *(.sbss); … … 47 53 *(.bss); 48 54 } :data 49 50 . = ALIGN(0x1000);51 _heap = .;52 55 53 56 /DISCARD/ : { 54 57 *(*); 55 58 } 56 57 59 } -
uspace/srv/loader/arch/sparc64/_link.ld.in
rd88218b r5e8b881 12 12 *(.interp); 13 13 } :interp 14 14 15 15 . = 0x70004000 + SIZEOF_HEADERS; 16 16 17 17 .init : { 18 18 *(.init); 19 19 } :text 20 20 21 .text : { 21 22 *(.text); 22 23 *(.rodata*); 23 24 } :text 24 25 25 26 . = . + 0x4000; 26 27 27 28 .got : { 28 29 _gp = .; 29 30 *(.got*); 30 31 } :data 32 31 33 .data : { 32 34 *(.data); 33 35 *(.sdata); 34 36 } :data 37 35 38 .tdata : { 36 39 _tdata_start = .; … … 38 41 _tdata_end = .; 39 42 } :data 43 40 44 .tbss : { 41 45 _tbss_start = .; … … 43 47 _tbss_end = .; 44 48 } :data 49 45 50 _tls_alignment = MAX(ALIGNOF(.tdata), ALIGNOF(.tbss)); 51 46 52 .bss : { 47 53 *(.sbss); … … 49 55 *(.bss); 50 56 } :data 51 52 . = ALIGN(0x4000);53 _heap = .;54 57 55 58 /DISCARD/ : { 56 59 *(*); 57 60 } 58 59 61 }
Note:
See TracChangeset
for help on using the changeset viewer.