Changeset 4c4b53c in mainline
- Timestamp:
- 2018-04-28T16:49:48Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 4c5f04f
- Parents:
- a947d32
- Location:
- uspace/lib/c/arch
- Files:
-
- 18 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/arch/abs32le/_link.ld.in
ra947d32 r4c4b53c 1 1 STARTUP(LIBC_PATH/arch/UARCH/src/entry.o) 2 ENTRY(_ _entry)2 ENTRY(_start) 3 3 4 4 PHDRS { -
uspace/lib/c/arch/abs32le/src/entry.c
ra947d32 r4c4b53c 33 33 #include <stddef.h> 34 34 35 extern void _ _entry(void);35 extern void _start(void); 36 36 37 37 /* Normally, the entry point is defined in assembly for the architecture. */ 38 38 39 void _ _entry(void)39 void _start(void) 40 40 { 41 41 __libc_main(NULL); -
uspace/lib/c/arch/amd64/_link.ld.in
ra947d32 r4c4b53c 1 1 STARTUP(LIBC_PATH/arch/UARCH/src/entry.o) 2 ENTRY(_ _entry)2 ENTRY(_start) 3 3 4 4 PHDRS { -
uspace/lib/c/arch/amd64/src/entry.S
ra947d32 r4c4b53c 37 37 # %rdi contains the PCB pointer 38 38 # 39 SYMBOL(_ _entry)39 SYMBOL(_start) 40 40 # 41 41 # Create the first stack frame. -
uspace/lib/c/arch/arm32/_link.ld.in
ra947d32 r4c4b53c 1 1 STARTUP(LIBC_PATH/arch/UARCH/src/entry.o) 2 ENTRY(_ _entry)2 ENTRY(_start) 3 3 4 4 PHDRS { -
uspace/lib/c/arch/arm32/src/entry.S
ra947d32 r4c4b53c 38 38 # r2 contains the RAS page address 39 39 # 40 SYMBOL(_ _entry)40 SYMBOL(_start) 41 41 # Store the RAS page address into the ras_page variable 42 42 ldr r0, =ras_page -
uspace/lib/c/arch/ia32/_link.ld.in
ra947d32 r4c4b53c 1 1 #ifndef SHLIB 2 2 STARTUP(LIBC_PATH/arch/UARCH/src/entry.o) 3 ENTRY(_ _entry)3 ENTRY(_start) 4 4 #endif 5 5 -
uspace/lib/c/arch/ia32/src/entry.S
ra947d32 r4c4b53c 40 40 # %edi contains the PCB pointer 41 41 # 42 SYMBOL(_ _entry)42 SYMBOL(_start) 43 43 mov %ss, %ax 44 44 mov %ax, %ds -
uspace/lib/c/arch/ia64/_link.ld.in
ra947d32 r4c4b53c 1 1 STARTUP(LIBC_PATH/arch/UARCH/src/entry.o) 2 ENTRY(_ _entry)2 ENTRY(_start) 3 3 4 4 PHDRS { -
uspace/lib/c/arch/ia64/src/entry.S
ra947d32 r4c4b53c 37 37 # r2 contains the PCB pointer 38 38 # 39 SYMBOL(_ _entry)39 SYMBOL(_start) 40 40 alloc loc0 = ar.pfs, 0, 1, 2, 0 41 41 movl gp = __gp -
uspace/lib/c/arch/mips32/_link.ld.in
ra947d32 r4c4b53c 1 1 STARTUP(LIBC_PATH/arch/UARCH/src/entry.o) 2 ENTRY(__ entry)2 ENTRY(__start) 3 3 4 4 PHDRS { -
uspace/lib/c/arch/mips32/src/entry.S
ra947d32 r4c4b53c 40 40 # $a0 ($4) contains the PCB pointer 41 41 # 42 FUNCTION_BEGIN(__ entry)43 .ent __ entry42 FUNCTION_BEGIN(__start) 43 .ent __start 44 44 .frame $sp, ABI_STACK_FRAME, $ra 45 45 .cpload $t9 … … 62 62 # 63 63 addiu $sp, ABI_STACK_FRAME 64 .end __ entry65 FUNCTION_END(__ entry)64 .end __start 65 FUNCTION_END(__start) -
uspace/lib/c/arch/ppc32/_link.ld.in
ra947d32 r4c4b53c 1 1 STARTUP(LIBC_PATH/arch/UARCH/src/entry.o) 2 ENTRY(_ _entry)2 ENTRY(_start) 3 3 4 4 PHDRS { -
uspace/lib/c/arch/ppc32/src/entry.S
ra947d32 r4c4b53c 37 37 # r6 contains the PCB pointer 38 38 # 39 SYMBOL(_ _entry)39 SYMBOL(_start) 40 40 # 41 41 # Create the first stack frame. -
uspace/lib/c/arch/riscv64/_link.ld.in
ra947d32 r4c4b53c 1 1 STARTUP(LIBC_PATH/arch/UARCH/src/entry.o) 2 ENTRY(_ _entry)2 ENTRY(_start) 3 3 4 4 PHDRS { -
uspace/lib/c/arch/riscv64/src/entry.c
ra947d32 r4c4b53c 32 32 #include "../../../generic/private/libc.h" 33 33 34 extern void _ _entry(void);34 extern void _start(void); 35 35 36 36 // FIXME: Implement properly. 37 37 38 void _ _entry(void)38 void _start(void) 39 39 { 40 40 __libc_main((void *) 0); -
uspace/lib/c/arch/sparc64/_link.ld.in
ra947d32 r4c4b53c 1 1 STARTUP(LIBC_PATH/arch/UARCH/src/entry.o) 2 ENTRY(_ _entry)2 ENTRY(_start) 3 3 4 4 PHDRS { -
uspace/lib/c/arch/sparc64/src/entry.S
ra947d32 r4c4b53c 38 38 # %o1 contains pcb_ptr 39 39 # 40 SYMBOL(_ _entry)40 SYMBOL(_start) 41 41 # 42 42 # Create the first stack frame.
Note:
See TracChangeset
for help on using the changeset viewer.