Changeset a3aa1e1 in mainline
- Timestamp:
- 2006-03-13T12:29:56Z (19 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- b419162
- Parents:
- 8f9239e
- Location:
- libc/arch
- Files:
-
- 9 edited
Legend:
- Unmodified
- Added
- Removed
-
libc/arch/amd64/Makefile.inc
r8f9239e ra3aa1e1 34 34 35 35 ARCH_SOURCES += arch/$(ARCH)/src/syscall.S 36 37 LFLAGS += -N -
libc/arch/amd64/_link.ld.in
r8f9239e ra3aa1e1 3 3 4 4 PHDRS { 5 image PT_LOAD AT (0x1000); 5 text PT_LOAD FLAGS(5); 6 data PT_LOAD FLAGS(6); 6 7 } 7 8 8 9 SECTIONS { 9 10 . = 0x1000; 10 .image ALIGN(0x1000) : { 11 12 .init ALIGN(0x1000) : SUBALIGN(0x1000) { 13 *(.init); 14 } :text 15 .text : { 11 16 *(.text); 12 *(.data); /* initialized data */ 13 *(.rodata*); /* string literals */ 14 *(COMMON); /* global variables */ 15 *(.eh_frame); 16 *(.bss); /* uninitialized static variables */ 17 } :image 18 17 *(.rodata*); 18 } :text 19 20 .data ALIGN(0x1000) : SUBALIGN(0x1000) { 21 *(.data); 22 } :data 23 .bss : { 24 *(COMMON); 25 *(.bss); 26 } :data 19 27 20 28 /DISCARD/ : { 21 *(.note.GNU-stack); 22 *(.comment); 29 *(*); 23 30 } 24 31 -
libc/arch/amd64/src/entry.s
r8f9239e ra3aa1e1 27 27 # 28 28 29 . text29 .section .init, "ax" 30 30 31 31 .org 0 -
libc/arch/ia32/Makefile.inc
r8f9239e ra3aa1e1 34 34 35 35 ARCH_SOURCES += arch/$(ARCH)/src/syscall.c 36 37 LFLAGS += -N -
libc/arch/ia32/_link.ld.in
r8f9239e ra3aa1e1 3 3 4 4 PHDRS { 5 image PT_LOAD AT (0x1000); 5 text PT_LOAD FLAGS(5); 6 data PT_LOAD FLAGS(6); 6 7 } 7 8 8 9 SECTIONS { 10 . = 0x1000; 11 12 .init ALIGN(0x1000) : SUBALIGN(0x1000) { 13 *(.init); 14 } :text 15 .text : { 16 *(.text); 17 *(.rodata*); 18 } :text 9 19 10 . = 0x1000; 11 .image 0x00001000 : { 12 *(.text); 13 *(.data); /* initialized data */ 14 *(.rodata*); /* string literals */ 15 *(COMMON); /* global variables */ 16 *(.bss); /* uninitialized static variables */ 17 } :image 20 .data ALIGN(0x1000) : SUBALIGN(0x1000) { 21 *(.data); 22 } :data 23 .bss : { 24 *(COMMON); 25 *(.bss); 26 } :data 18 27 19 28 /DISCARD/ : { 20 *(.note.GNU-stack); 21 *(.comment); 29 *(*); 22 30 } 23 31 -
libc/arch/ia32/src/entry.s
r8f9239e ra3aa1e1 27 27 # 28 28 29 . text29 .section .init, "ax" 30 30 31 31 .org 0 -
libc/arch/ia64/_link.ld.in
r8f9239e ra3aa1e1 1 OUTPUT_FORMAT(elf64-ia64-little)2 1 STARTUP(../libc/arch/ARCH/src/entry.o) 3 2 ENTRY(__entry) 4 3 4 PHDRS { 5 text PT_LOAD FLAGS(5); 6 data PT_LOAD FLAGS(6); 7 } 8 5 9 SECTIONS { 6 .text 0x00010000 : { 7 *(.text) 8 *(.rodata .rodata.*) 9 *(.opd) 10 *(.data) 11 *(.got .got.*) 12 *(.sdata) 13 *(.sbss) 14 *(.scommon) 15 *(.bss) 10 . = 0x4000; 11 12 .init ALIGN(0x4000): SUBALIGN(0x4000) { 13 *(.init); 14 } : text 15 .text : { 16 *(.text); 17 *(.rodata*); 18 } :text 19 20 .got ALIGN(0x4000) : SUBALIGN(0x4000) { 21 *(.got*); 22 } :data 23 .data : { 24 _gp = .; 25 *(.opd); 26 *(.data); 27 *(.sdata); 28 } :data 29 .bss : { 30 *(.sbss); 31 *(.scommon); 16 32 *(COMMON); 17 } 33 *(.bss); 34 } :data 18 35 19 36 /DISCARD/ : { 20 *(.note.GNU-stack); 21 *(.comment); 37 *(*); 22 38 } 23 39 } -
libc/arch/ia64/src/entry.s
r8f9239e ra3aa1e1 27 27 # 28 28 29 . text29 .section .init, "ax" 30 30 31 31 .org 0 … … 37 37 # 38 38 __entry: 39 mov r1 = _ _entry39 mov r1 = _gp 40 40 { br.call.sptk.many b0 = main } 41 41 { br.call.sptk.many b0 = __exit } -
libc/arch/mips32/_link.ld.in
r8f9239e ra3aa1e1 2 2 ENTRY(__entry) 3 3 4 PHDRS { 5 text PT_LOAD FLAGS(5); 6 data PT_LOAD FLAGS(6); 7 } 8 4 9 SECTIONS { 5 10 . = 0x4000; 6 .init : SUBALIGN(0x4000) { 11 12 .init ALIGN(0x4000) : SUBALIGN(0x4000) { 7 13 *(.init); 8 } 14 } :text 9 15 .text : { 10 16 *(.text); 11 17 *(.rodata*); 12 } 13 .data ALIGN(0x4000) : { 18 } :text 19 20 .data ALIGN(0x4000) : SUBALIGN(0x4000) { 14 21 *(.data); 15 } 22 } :data 16 23 .bss : { 17 24 *(.bss); 18 25 *(.sbss); 19 26 *(COMMON); 20 } 27 } :data 28 21 29 /DISCARD/ : { 22 30 *(*);
Note:
See TracChangeset
for help on using the changeset viewer.