Subversion Repositories HelenOS

Rev

Go to most recent revision | Hide changed files | Details | Compare with Previous | Blame | RSS feed

Filtering Options

Rev Age Author Path Log message Diff Changes
2973 5891 d 11 h svoboda /branches/dynload/uspace/ Parse program's relocation table  
/branches/dynload/uspace/lib/rtld/arch/ia32/src/reloc.c
/branches/dynload/uspace/lib/rtld/include/arch.h
/branches/dynload/uspace/app/dltest/Makefile
/branches/dynload/uspace/app/dltest/dltest.c
/branches/dynload/uspace/app/iloader/main.c
/branches/dynload/uspace/lib/rtld/arch/ia32/Makefile.inc
/branches/dynload/uspace/lib/rtld/include/rtld.h
/branches/dynload/uspace/lib/rtld/rtld.c
2972 5891 d 13 h svoboda /branches/dynload/uspace/ Add so_bias argument to elf_load_file(). Successfully load libtest.so into memory.  
/branches/dynload/uspace/app/iloader/elf_load.c
/branches/dynload/uspace/app/iloader/include/elf_load.h
/branches/dynload/uspace/app/iloader/main.c
/branches/dynload/uspace/lib/rtld/rtld.c
2971 5891 d 13 h svoboda /branches/dynload/uspace/ Add libtest to iramfs. Link rtld with position-independent libsoftfloat.  
/branches/dynload/uspace/app/iloader/elf_load.c
/branches/dynload/uspace/app/iramfs/Makefile
/branches/dynload/uspace/app/iramfs/data.h
/branches/dynload/uspace/app/iramfs/main.c
/branches/dynload/uspace/lib/rtld/Makefile
/branches/dynload/uspace/lib/rtld/arch/ia32/src/runtime.c
/branches/dynload/uspace/lib/softint/Makefile
2970 5891 d 14 h svoboda /branches/dynload/uspace/lib/libtest/ Fix symlink  
/branches/dynload/uspace/lib/libtest/libtest.so.0
2969 5892 d 5 h svoboda /branches/dynload/uspace/ Incorporate ELF loader from iloader to rtld  
/branches/dynload/uspace/app/iloader/include
/branches/dynload/uspace/app/iloader/include/elf.h
/branches/dynload/uspace/app/iloader/include/elf_load.h
/branches/dynload/uspace/app/iloader/include/pcb.h
/branches/dynload/uspace/lib/rtld/elf_load.c
/branches/dynload/uspace/app/iloader/elf.h
/branches/dynload/uspace/app/iloader/elf_load.h
/branches/dynload/uspace/app/iloader/pcb.h
/branches/dynload/uspace/lib/rtld/include/elf.h
/branches/dynload/uspace/app/iloader/Makefile
/branches/dynload/uspace/app/iloader/main.c
/branches/dynload/uspace/lib/rtld/Makefile
/branches/dynload/uspace/lib/rtld/dynamic.c
/branches/dynload/uspace/lib/rtld/include/dynamic.h
/branches/dynload/uspace/lib/rtld/rtld.c
2968 5892 d 6 h svoboda /branches/dynload/uspace/ Parse .dynamic section fields into a more useful form.  
/branches/dynload/uspace/lib/rtld/dynamic.c
/branches/dynload/uspace/lib/rtld/include/dynamic.h
/branches/dynload/uspace/app/dltest/dltest.c
/branches/dynload/uspace/app/iloader/main.c
/branches/dynload/uspace/app/iramfs/Makefile
/branches/dynload/uspace/app/iramfs/data.h
/branches/dynload/uspace/app/iramfs/main.c
/branches/dynload/uspace/lib/rtld/Makefile
/branches/dynload/uspace/lib/rtld/rtld.c
2967 5892 d 10 h svoboda /branches/dynload/uspace/ For testing purposes, add a trivial shared library and a program linked to it  
/branches/dynload/uspace/app/dltest
/branches/dynload/uspace/app/dltest/Makefile
/branches/dynload/uspace/app/dltest/_link.ld.in
/branches/dynload/uspace/app/dltest/dltest.c
/branches/dynload/uspace/lib/libtest
/branches/dynload/uspace/lib/libtest/Makefile
/branches/dynload/uspace/lib/libtest/_link.ld.in
/branches/dynload/uspace/lib/libtest/libtest.c
/branches/dynload/uspace/lib/libtest/libtest.h
/branches/dynload/uspace/lib/libtest/libtest.so.0
/branches/dynload/uspace/Makefile
2966 5892 d 13 h svoboda /branches/dynload/uspace/lib/rtld/ Define more ELF constants and use them  
/branches/dynload/uspace/lib/rtld/arch/ia32/src/bootstrap.c
/branches/dynload/uspace/lib/rtld/include/elf_dyn.h
2965 5892 d 13 h svoboda /branches/dynload/uspace/ Add headers for dynamic-loading-related ELF stuff. Reorganize rtld include directories.  
/branches/dynload/uspace/lib/rtld/arch/ia32/include
/branches/dynload/uspace/lib/rtld/arch/ia32/include/elf_dyn.h
/branches/dynload/uspace/lib/rtld/arch/ia32/src
/branches/dynload/uspace/lib/rtld/arch/ia32/src/bootstrap.c
/branches/dynload/uspace/lib/rtld/arch/ia32/src/entry.s
/branches/dynload/uspace/lib/rtld/arch/ia32/src/runtime.c
/branches/dynload/uspace/lib/rtld/include
/branches/dynload/uspace/lib/rtld/include/elf.h
/branches/dynload/uspace/lib/rtld/include/elf_dyn.h
/branches/dynload/uspace/lib/rtld/include/rtld.h
/branches/dynload/uspace/lib/rtld/arch/ia32/bootstrap.c
/branches/dynload/uspace/lib/rtld/arch/ia32/entry.s
/branches/dynload/uspace/lib/rtld/arch/ia32/runtime.c
/branches/dynload/uspace/app/iloader/elf_load.c
/branches/dynload/uspace/app/iloader/pcb.h
/branches/dynload/uspace/lib/rtld/Makefile
/branches/dynload/uspace/lib/rtld/arch/ia32/Makefile.inc
/branches/dynload/uspace/lib/rtld/rtld.c
2964 5892 d 15 h svoboda /branches/dynload/uspace/app/iloader/ Restructure elf loader data. Extract .dynamic section address  
/branches/dynload/uspace/app/iloader/elf_load.c
/branches/dynload/uspace/app/iloader/elf_load.h
/branches/dynload/uspace/app/iloader/main.c
/branches/dynload/uspace/app/iloader/pcb.h
2963 5892 d 16 h svoboda /branches/dynload/uspace/app/iloader/ Add missing elf_load.h  
/branches/dynload/uspace/app/iloader/elf_load.h
2962 5892 d 16 h svoboda /branches/dynload/uspace/app/iloader/ Restructure iloader. Rename elf.c to elf_load.c (need elf_load.h vs elf.h)  
/branches/dynload/uspace/app/iloader/elf_load.c
/branches/dynload/uspace/app/iloader/elf.c
/branches/dynload/uspace/app/iloader/Makefile
/branches/dynload/uspace/app/iloader/main.c
2961 5892 d 16 h svoboda /branches/dynload/uspace/app/iloader/ Read section headers in iloader  
/branches/dynload/uspace/app/iloader/elf.c
/branches/dynload/uspace/app/iloader/main.c
2960 5892 d 17 h svoboda /branches/dynload/uspace/app/iloader/ Add missing file pcb.h. Introduces the Program Control Block (PCB)  
/branches/dynload/uspace/app/iloader/pcb.h
2959 5892 d 17 h svoboda /branches/dynload/ Load both program and dynamic linker from program loader. Pass program entry point to dynamic linker and have it run the program  
/branches/dynload/tools/bin2c.py
/branches/dynload/uspace/app/iloader/arch/ia32/_link.ld.in
/branches/dynload/uspace/app/iloader/main.c
/branches/dynload/uspace/app/iramfs/Makefile
/branches/dynload/uspace/app/iramfs/data.h
/branches/dynload/uspace/app/iramfs/main.c
/branches/dynload/uspace/lib/libc/generic/time.c
/branches/dynload/uspace/lib/rtld/rtld.c
2956 5893 d 6 h svoboda /branches/dynload/uspace/lib/ Temporarily force local dynamic TLS model in libc by declaring all __thread variables static. Implement a trivial __tls_get_addr() function. Now rtld works linked with libc. Yaay! :D  
/branches/dynload/uspace/lib/rtld/arch/ia32/runtime.c
/branches/dynload/uspace/lib/rtld/ulibc.c
/branches/dynload/uspace/lib/libc/generic/async.c
/branches/dynload/uspace/lib/rtld/Makefile
/branches/dynload/uspace/lib/rtld/arch/ia32/Makefile.inc
2955 5893 d 13 h svoboda /branches/dynload/ Build a position-independent libc  
/branches/dynload/kernel/arch/ia32/include/barrier.h
/branches/dynload/uspace/lib/libc/Makefile
2954 5893 d 15 h svoboda /branches/dynload/uspace/lib/rtld/ Read a file from rtld with more ugly hacking  
/branches/dynload/uspace/lib/rtld/rtld.c
/branches/dynload/uspace/lib/rtld/ulibc.c
2952 5894 d 6 h svoboda /branches/dynload/ Load rtld.so with iloader and make it write to console with a stripped-down version of the C library  
/branches/dynload/uspace/lib/rtld/syscall.S
/branches/dynload/uspace/lib/rtld/ulibc.c
/branches/dynload/kernel/generic/include/syscall/syscall.h
/branches/dynload/kernel/generic/src/syscall/syscall.c
/branches/dynload/uspace/app/iramfs/Makefile
/branches/dynload/uspace/lib/rtld/Makefile
/branches/dynload/uspace/lib/rtld/arch/ia32/bootstrap.c
/branches/dynload/uspace/lib/rtld/rtld.c
2950 5894 d 6 h svoboda /branches/dynload/uspace/lib/rtld/arch/ia32/ Fix rtld linker script with some magic so that ld produces correct DT_REL[SZ], DT_JMPREL, DT_PLTRELSZ entries  
/branches/dynload/uspace/lib/rtld/arch/ia32/_link.ld.in
2949 5894 d 7 h svoboda /branches/dynload/ Add a python script 'bin2c.py' and an application 'iramfs' to smuggle an executable file into VFS. Demonstrate by running Tetris from VFS  
/branches/dynload/tools/bin2c.py
/branches/dynload/uspace/app/iramfs
/branches/dynload/uspace/app/iramfs/Makefile
/branches/dynload/uspace/app/iramfs/data.h
/branches/dynload/uspace/app/iramfs/main.c
/branches/dynload/boot/arch/ia32/Makefile.inc
/branches/dynload/boot/arch/ia32/grub/menu.lst
/branches/dynload/uspace/Makefile
/branches/dynload/uspace/app/iloader/Makefile
/branches/dynload/uspace/app/iloader/elf.c
2948 5894 d 7 h svoboda /branches/dynload/ Merged latest trunk changes into dynload  
/branches/dynload/kernel/generic/src/ipc/sysipc.c
/branches/dynload/uspace/app/tester/vfs/vfs1.c
/branches/dynload/uspace/srv/fs/fat/fat_idx.c
2947 5894 d 18 h svoboda /branches/tracing/uspace/app/debug/ Add command for listing breakpoints. Fix command name comparison.  
/branches/tracing/uspace/app/debug/arch/ia32/src/ia32.c
/branches/tracing/uspace/app/debug/cmd.c
/branches/tracing/uspace/app/debug/main.c
2946 5895 d 4 h svoboda /branches/tracing/uspace/ Get rid of warnings  
/branches/tracing/uspace/app/debug/cons.c
/branches/tracing/uspace/app/debug/dthread.c
/branches/tracing/uspace/app/debug/main.c
/branches/tracing/uspace/app/sctrace/Makefile
/branches/tracing/uspace/app/sctrace/ipcp.c
/branches/tracing/uspace/app/sctrace/proto.c
/branches/tracing/uspace/app/sctrace/sctrace.c
/branches/tracing/uspace/lib/libc/generic/udebug.c
/branches/tracing/uspace/lib/libc/include/udebug.h
2943 5895 d 6 h svoboda /branches/tracing/uspace/app/debug/ Breakpoint removal. Don't clear TF when a breakpoint is active  
/branches/tracing/uspace/app/debug/arch/ia32/src/ia32.c
/branches/tracing/uspace/app/debug/arch/mips32/src/mips32.c
/branches/tracing/uspace/app/debug/cmd.c
/branches/tracing/uspace/app/debug/include/arch.h
2942 5895 d 6 h svoboda /branches/tracing/uspace/app/debug/ Singlestepping in debugger (ia32)  
/branches/tracing/uspace/app/debug/arch/ia32/include/types.h
/branches/tracing/uspace/app/debug/arch/ia32/src/ia32.c
/branches/tracing/uspace/app/debug/arch/mips32/include/types.h
/branches/tracing/uspace/app/debug/arch/mips32/src/mips32.c
/branches/tracing/uspace/app/debug/cmd.c
/branches/tracing/uspace/app/debug/dthread.h
/branches/tracing/uspace/app/debug/include/arch.h
/branches/tracing/uspace/app/debug/main.c
/branches/tracing/uspace/app/debug/main.h
2941 5895 d 8 h svoboda /branches/tracing/uspace/app/debug/ Dumping registers in debugger. (Only those saved in istate, atm)  
/branches/tracing/uspace/app/debug/arch/ia32/include/types.h
/branches/tracing/uspace/app/debug/arch/ia32/src/ia32.c
/branches/tracing/uspace/app/debug/arch/mips32/include/types.h
/branches/tracing/uspace/app/debug/arch/mips32/src/mips32.c
/branches/tracing/uspace/app/debug/cmd.c
/branches/tracing/uspace/app/debug/dthread.c
/branches/tracing/uspace/app/debug/include/arch.h
2940 5895 d 8 h svoboda /branches/tracing/uspace/app/debug/ Display current PC value in debugger  
/branches/tracing/uspace/app/debug/arch/ia32/include/types.h
/branches/tracing/uspace/app/debug/dthread.c
/branches/tracing/uspace/app/debug/dthread.h
/branches/tracing/uspace/app/debug/include/arch.h
/branches/tracing/uspace/app/debug/main.c
2939 5895 d 10 h svoboda /branches/tracing/uspace/app/debug/ Finish transition of debugger to new bokkeeping. Allow pausing application  
/branches/tracing/uspace/app/debug/cmd.c
/branches/tracing/uspace/app/debug/dthread.c
/branches/tracing/uspace/app/debug/dthread.h
/branches/tracing/uspace/app/debug/main.c
2938 5895 d 10 h svoboda /branches/tracing/uspace/app/debug/ Proper thread bookkeeping in debugger  
/branches/tracing/uspace/app/debug/dthread.c
/branches/tracing/uspace/app/debug/dthread.h
/branches/tracing/uspace/app/debug/Makefile
/branches/tracing/uspace/app/debug/cmd.c
/branches/tracing/uspace/app/debug/main.c
/branches/tracing/uspace/app/debug/main.h
2937 5895 d 11 h svoboda /branches/tracing/uspace/app/debug/ Listing threads in debugger, printing and changing 'working thread'  
/branches/tracing/uspace/app/debug/cmd.c
/branches/tracing/uspace/app/debug/main.c
/branches/tracing/uspace/app/debug/main.h
2936 5895 d 11 h svoboda /branches/tracing/uspace/app/debug/ Allow debugger to asynchronously print messages without disrupting its command line  
/branches/tracing/uspace/app/debug/cons.c
/branches/tracing/uspace/app/debug/cons.h
/branches/tracing/uspace/app/debug/Makefile
/branches/tracing/uspace/app/debug/arch/ia32/src/ia32.c
/branches/tracing/uspace/app/debug/arch/mips32/src/mips32.c
/branches/tracing/uspace/app/debug/cmd.c
/branches/tracing/uspace/app/debug/main.c
2935 5895 d 12 h svoboda /branches/tracing/uspace/app/debug/ Use simple passive fibril synchronization in debugger. 'go' command for resuming thread execution  
/branches/tracing/uspace/app/debug/fib_synch.c
/branches/tracing/uspace/app/debug/fib_synch.h
/branches/tracing/uspace/app/debug/Makefile
/branches/tracing/uspace/app/debug/arch/ia32/src/ia32.c
/branches/tracing/uspace/app/debug/arch/mips32/src/mips32.c
/branches/tracing/uspace/app/debug/cmd.c
/branches/tracing/uspace/app/debug/main.c
/branches/tracing/uspace/app/debug/main.h
2933 5896 d 12 h svoboda /branches/dynload/uspace/ Add library rtld, the future run-time dynamic linker  
/branches/dynload/uspace/lib/rtld
/branches/dynload/uspace/lib/rtld/Makefile
/branches/dynload/uspace/lib/rtld/arch
/branches/dynload/uspace/lib/rtld/arch/ia32
/branches/dynload/uspace/lib/rtld/arch/ia32/Makefile.inc
/branches/dynload/uspace/lib/rtld/arch/ia32/_link.ld.in
/branches/dynload/uspace/lib/rtld/arch/ia32/bootstrap.c
/branches/dynload/uspace/lib/rtld/arch/ia32/entry.s
/branches/dynload/uspace/lib/rtld/rtld.c
/branches/dynload/uspace/Makefile
2932 5896 d 12 h svoboda /branches/dynload/uspace/ Fix iloader loading with bias and add it to makefile  
/branches/dynload/uspace/Makefile
/branches/dynload/uspace/app/iloader/elf.c
/branches/dynload/uspace/app/iloader/main.c
2931 5896 d 13 h svoboda /branches/dynload/kernel/generic/src/syscall/ Fix format specifier when printing unknown syscall id  
/branches/dynload/kernel/generic/src/syscall/syscall.c
2930 5896 d 15 h svoboda /branches/tracing/uspace/app/ Revert c2928 so that iloader is only in dynload branch  
/branches/tracing/uspace/app/iloader
2929 5896 d 15 h svoboda /branches/dynload/uspace/app/iloader/ Merge iloader (c2928) from tracing to dynload  
/branches/dynload/uspace/app/iloader
2928 5896 d 16 h svoboda /branches/tracing/uspace/app/iloader/ Add Initial Loader (iloader), a program that can load a statically-linked ELF image from VFS into its address space and run it.  
/branches/tracing/uspace/app/iloader
/branches/tracing/uspace/app/iloader/Makefile
/branches/tracing/uspace/app/iloader/arch
/branches/tracing/uspace/app/iloader/arch/ia32
/branches/tracing/uspace/app/iloader/arch/ia32/_link.ld.in
/branches/tracing/uspace/app/iloader/elf.c
/branches/tracing/uspace/app/iloader/elf.h
/branches/tracing/uspace/app/iloader/main.c
2927 5896 d 16 h decky /branches/dynload/ added dynload branch  
/branches/dynload