HelenOS
HelenOS-doc
HelenOS-historic
Català-Valencià – Catalan
中文 – Chinese (Simplified)
中文 – Chinese (Traditional)
Česky – Czech
Dansk – Danish
Nederlands – Dutch
English – English
Suomi – Finnish
Français – French
Deutsch – German
עברית – Hebrew
हिंदी – Hindi
Magyar – Hungarian
Bahasa Indonesia – Indonesian
Italiano – Italian
日本語 – Japanese
한국어 – Korean
Македонски – Macedonian
मराठी – Marathi
Norsk – Norwegian
Polski – Polish
Português – Portuguese
Português – Portuguese (Brazil)
Русский – Russian
Slovenčina – Slovak
Slovenščina – Slovenian
Español – Spanish
Svenska – Swedish
Türkçe – Turkish
Українська – Ukrainian
Oëzbekcha – Uzbek
Subversion Repositories
HelenOS
(root)
/
/
branches
/
dynload
/
uspace
/
lib
/
libc
/
rtld
/
rtld.c
– Rev 4354
Rev
Hide changed files
|
Details
|
Compare with Previous
|
Blame
|
RSS feed
Filtering Options
From rev
To rev
Max revs
Search history for
Show All
Rev
Age
Author
Path
Log message
Diff
Changes
4354
5670 d 7 h
svoboda
/branches/dynload/uspace/
Rtld is really just a part of libc, so move it there.
/branches/dynload/uspace/lib/libc/rtld
/branches/dynload/uspace/lib/rtld
/branches/dynload/uspace/Makefile
/branches/dynload/uspace/app/bdsh/Makefile
/branches/dynload/uspace/app/dload/Makefile
/branches/dynload/uspace/app/dltest/Makefile
/branches/dynload/uspace/app/dltest2/Makefile
/branches/dynload/uspace/app/klog/Makefile
/branches/dynload/uspace/app/tester/Makefile
/branches/dynload/uspace/app/tetris/Makefile
/branches/dynload/uspace/app/trace/Makefile
/branches/dynload/uspace/lib/libc/Makefile
/branches/dynload/uspace/lib/libc/rtld/arch/ia32/Makefile.inc
/branches/dynload/uspace/lib/libc/rtld/arch/mips32/Makefile.inc
/branches/dynload/uspace/lib/libc/rtld/arch/ppc32/Makefile.inc
/branches/dynload/uspace/lib/libc/rtld/elf_load.c
/branches/dynload/uspace/lib/libc/shared/Makefile
/branches/dynload/uspace/srv/kbd/Makefile
/branches/dynload/uspace/srv/pci/Makefile
3869
5751 d 19 h
svoboda
/branches/dynload/
Make dlopen() work from statically-linked apps. Test with dltest2.
/branches/dynload/uspace/app/dltest2
/branches/dynload/uspace/app/dltest2/Makefile
/branches/dynload/uspace/app/dltest2/dltest2.c
/branches/dynload/boot/arch/mips32/loader/Makefile
/branches/dynload/uspace/Makefile
/branches/dynload/uspace/app/dltest/dltest.c
/branches/dynload/uspace/lib/libc/generic/dlfcn.c
/branches/dynload/uspace/lib/libtest/Makefile
/branches/dynload/uspace/lib/libtest/libtest.c
/branches/dynload/uspace/lib/libtest/libtest.h
/branches/dynload/uspace/lib/rtld/include/rtld.h
/branches/dynload/uspace/lib/rtld/module.c
/branches/dynload/uspace/lib/rtld/rtld.c
3686
5816 d 17 h
svoboda
/branches/dynload/uspace/
Somewhat functional dlopen() prototype.
/branches/dynload/uspace/lib/libc/generic/dlfcn.c
/branches/dynload/uspace/lib/libc/include/dlfcn.h
/branches/dynload/uspace/Makefile
/branches/dynload/uspace/app/dload/dload.c
/branches/dynload/uspace/app/dltest/dltest.c
/branches/dynload/uspace/app/init/init.c
/branches/dynload/uspace/lib/libc/Makefile
/branches/dynload/uspace/lib/libc/generic/libc.c
/branches/dynload/uspace/lib/libc/include/loader/pcb.h
/branches/dynload/uspace/lib/libc/shared/Makefile
/branches/dynload/uspace/lib/rtld/Makefile
/branches/dynload/uspace/lib/rtld/include/rtld.h
/branches/dynload/uspace/lib/rtld/module.c
/branches/dynload/uspace/lib/rtld/rtld.c
/branches/dynload/uspace/lib/rtld/symbol.c
/branches/dynload/uspace/srv/loader/elf_load.c
3681
5817 d 0 h
svoboda
/branches/dynload/
Reorganize: move dynamic loader to /app/dload, dynamic linker librtld.a. (prepare for dlopen support).
/branches/dynload/uspace/app/dload
/branches/dynload/uspace/app/dload/Makefile
/branches/dynload/uspace/app/dload/arch
/branches/dynload/uspace/app/dload/arch/ia32
/branches/dynload/uspace/app/dload/arch/ia32/Makefile.inc
/branches/dynload/uspace/app/dload/arch/ia32/_link.ld.in
/branches/dynload/uspace/app/dload/arch/ia32/start.c
/branches/dynload/uspace/app/dload/arch/ppc32
/branches/dynload/uspace/app/dload/arch/ppc32/Makefile.inc
/branches/dynload/uspace/app/dload/arch/ppc32/_link.ld.in
/branches/dynload/uspace/app/dload/arch/ppc32/start.s
/branches/dynload/uspace/app/dload/dload.c
/branches/dynload/uspace/app/dload/include
/branches/dynload/uspace/lib/rtld/arch/ia32/_link.ld.in
/branches/dynload/uspace/lib/rtld/arch/ia32/src/start.c
/branches/dynload/uspace/lib/rtld/arch/ppc32/_link.ld.in
/branches/dynload/uspace/lib/rtld/arch/ppc32/src/start.s
/branches/dynload/boot/arch/ia32/Makefile.inc
/branches/dynload/boot/arch/ppc32/loader/Makefile
/branches/dynload/uspace/Makefile
/branches/dynload/uspace/lib/libc/Makefile.app
/branches/dynload/uspace/lib/libc/shared/Makefile
/branches/dynload/uspace/lib/rtld/Makefile
/branches/dynload/uspace/lib/rtld/arch/ia32/Makefile.inc
/branches/dynload/uspace/lib/rtld/arch/ia32/src/reloc.c
/branches/dynload/uspace/lib/rtld/arch/ppc32/Makefile.inc
/branches/dynload/uspace/lib/rtld/arch/ppc32/include/elf_dyn.h
/branches/dynload/uspace/lib/rtld/arch/ppc32/src/reloc.c
/branches/dynload/uspace/lib/rtld/rtld.c
/branches/dynload/uspace/srv/loader/elf_load.c
/branches/dynload/uspace/srv/loader/include/elf_load.h
/branches/dynload/uspace/srv/loader/main.c
3677
5818 d 18 h
svoboda
/branches/dynload/uspace/
Merge latest trunk changes to dynload.
/branches/dynload/uspace/lib/libc/include/loader/pcb.h
/branches/dynload/uspace/lib/rtld/rtld.c
/branches/dynload/uspace/srv/loader/main.c
3673
5818 d 19 h
svoboda
/branches/dynload/uspace/lib/rtld/
Remove obsolete parts of dynamic linker.
/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/arch/ppc32/src/bootstrap.c
/branches/dynload/uspace/lib/rtld/arch/ppc32/src/entry.s
/branches/dynload/uspace/lib/rtld/arch/ppc32/src/runtime.c
/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/ppc32/Makefile.inc
/branches/dynload/uspace/lib/rtld/arch/ppc32/_link.ld.in
/branches/dynload/uspace/lib/rtld/include/rtld.h
/branches/dynload/uspace/lib/rtld/rtld.c
3562
5846 d 22 h
svoboda
/branches/dynload/uspace/
Use macros for debug output in rtld and disable it. Close console connection before running program.
/branches/dynload/uspace/lib/rtld/arch/ia32/src/reloc.c
/branches/dynload/uspace/lib/rtld/dynamic.c
/branches/dynload/uspace/lib/rtld/include/rtld.h
/branches/dynload/uspace/lib/rtld/module.c
/branches/dynload/uspace/lib/rtld/rtld.c
/branches/dynload/uspace/lib/rtld/symbol.c
/branches/dynload/uspace/srv/loader/elf_load.c
3552
5848 d 18 h
svoboda
/branches/dynload/
Make rtld a static executable instead of a dynamic library. Brings dltest back on ia32.
/branches/dynload/boot/arch/ia32/Makefile.inc
/branches/dynload/uspace/app/dltest/Makefile
/branches/dynload/uspace/app/dltest/dltest.c
/branches/dynload/uspace/lib/libc-shared/Makefile
/branches/dynload/uspace/lib/libc/arch/ia32/src/tls.c
/branches/dynload/uspace/lib/rtld/Makefile
/branches/dynload/uspace/lib/rtld/arch/ia32/_link.ld.in
/branches/dynload/uspace/lib/rtld/arch/ia32/src/bootstrap.c
/branches/dynload/uspace/lib/rtld/arch/ia32/src/runtime.c
/branches/dynload/uspace/lib/rtld/module.c
/branches/dynload/uspace/lib/rtld/rtld.c
/branches/dynload/uspace/srv/loader/elf_load.c
/branches/dynload/uspace/srv/loader/include/elf_load.h
/branches/dynload/uspace/srv/loader/main.c
3401
5901 d 7 h
svoboda
/branches/dynload/
Add missing file start.c, partially fix ppc32 rtld
/branches/dynload/uspace/lib/rtld/arch/ia32/src/start.c
/branches/dynload/uspace/lib/rtld/arch/ppc32/src/start.c
/branches/dynload/boot/arch/ppc32/loader/Makefile
/branches/dynload/uspace/lib/rtld/arch/ia32/Makefile.inc
/branches/dynload/uspace/lib/rtld/arch/ppc32/Makefile.inc
/branches/dynload/uspace/lib/rtld/arch/ppc32/src/bootstrap.c
/branches/dynload/uspace/lib/rtld/include/rtld_arch.h
/branches/dynload/uspace/lib/rtld/rtld.c
3400
5901 d 22 h
svoboda
/branches/dynload/
Make rtld work again (ia32 only)
/branches/dynload/uspace/dist/lib
/branches/dynload/uspace/lib/rtld/include/rtld_arch.h
/branches/dynload/uspace/lib/rtld/include/arch.h
/branches/dynload/boot/arch/ia32/Makefile.inc
/branches/dynload/uspace/Makefile
/branches/dynload/uspace/app/dltest/Makefile
/branches/dynload/uspace/app/dltest/dltest.c
/branches/dynload/uspace/lib/libc/Makefile
/branches/dynload/uspace/lib/rtld/Makefile
/branches/dynload/uspace/lib/rtld/arch/ia32/Makefile.inc
/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/elf_load.c
/branches/dynload/uspace/lib/rtld/module.c
/branches/dynload/uspace/lib/rtld/rtld.c
/branches/dynload/uspace/srv/loader/elf_load.c
/branches/dynload/uspace/srv/loader/main.c
3000
6013 d 7 h
svoboda
/branches/dynload/uspace/lib/rtld/
Implement BFS for looking-up symbols. Add support for DT_SYMBOLIC flag. Set soname when building rtld.so. Strip path components when comparing module names.
/branches/dynload/uspace/lib/rtld/Makefile
/branches/dynload/uspace/lib/rtld/include/module.h
/branches/dynload/uspace/lib/rtld/module.c
/branches/dynload/uspace/lib/rtld/rtld.c
/branches/dynload/uspace/lib/rtld/symbol.c
2999
6014 d 1 h
svoboda
/branches/dynload/uspace/lib/rtld/
Load all requested libraries recursively and construct a module dependency graph -- work towards supporting arbitrary deps. (incomplete)
/branches/dynload/uspace/lib/rtld/include/module.h
/branches/dynload/uspace/lib/rtld/module.c
/branches/dynload/uspace/lib/rtld/Makefile
/branches/dynload/uspace/lib/rtld/arch/ia32/src/reloc.c
/branches/dynload/uspace/lib/rtld/arch/ppc32/src/reloc.c
/branches/dynload/uspace/lib/rtld/dynamic.c
/branches/dynload/uspace/lib/rtld/include/dynamic.h
/branches/dynload/uspace/lib/rtld/include/rtld.h
/branches/dynload/uspace/lib/rtld/include/symbol.h
/branches/dynload/uspace/lib/rtld/rtld.c
/branches/dynload/uspace/lib/rtld/symbol.c
2996
6014 d 19 h
svoboda
/branches/dynload/
Improve ppc32 dynamic loading support. Getting there...
/branches/dynload/uspace/app/dltest/arch
/branches/dynload/uspace/app/dltest/arch/ia32
/branches/dynload/uspace/app/dltest/arch/ia32/_link.ld.in
/branches/dynload/uspace/app/dltest/arch/ppc32
/branches/dynload/uspace/app/dltest/arch/ppc32/_link.ld.in
/branches/dynload/uspace/lib/libc-shared/arch
/branches/dynload/uspace/lib/libc-shared/arch/ia32
/branches/dynload/uspace/lib/libc-shared/arch/ia32/_link.ld.in
/branches/dynload/uspace/lib/libc-shared/arch/ppc32
/branches/dynload/uspace/lib/libc-shared/arch/ppc32/_link.ld.in
/branches/dynload/uspace/lib/rtld/arch/ppc32/src/reloc.c
/branches/dynload/uspace/app/dltest/_link.ld.in
/branches/dynload/uspace/lib/libc-shared/_link.ld.in
/branches/dynload/boot/arch/ppc32/loader/Makefile
/branches/dynload/uspace/app/dltest/Makefile
/branches/dynload/uspace/app/dltest/dltest.c
/branches/dynload/uspace/app/iloader/elf_load.c
/branches/dynload/uspace/lib/libc-shared/Makefile
/branches/dynload/uspace/lib/libc/arch/mips32/Makefile.inc
/branches/dynload/uspace/lib/libtest/libtest.c
/branches/dynload/uspace/lib/rtld/Makefile
/branches/dynload/uspace/lib/rtld/arch/ia32/src/reloc.c
/branches/dynload/uspace/lib/rtld/arch/ppc32/Makefile.inc
/branches/dynload/uspace/lib/rtld/arch/ppc32/src/bootstrap.c
/branches/dynload/uspace/lib/rtld/include/arch.h
/branches/dynload/uspace/lib/rtld/rtld.c
2990
6015 d 22 h
svoboda
/branches/dynload/uspace/
Add function inline function __pcb_get() for getting PCB address
/branches/dynload/uspace/app/iloader/elf_load.c
/branches/dynload/uspace/app/iloader/include/pcb.h
/branches/dynload/uspace/lib/rtld/arch/ia32/src/bootstrap.c
/branches/dynload/uspace/lib/rtld/rtld.c
2983
6016 d 7 h
svoboda
/branches/dynload/uspace/
Remove TLS sections from dltest. Do not add bias to absolute symbols (_tls_alignment). dltest now says hello.
/branches/dynload/uspace/app/dltest/_link.ld.in
/branches/dynload/uspace/lib/rtld/arch/ia32/src/reloc.c
/branches/dynload/uspace/lib/rtld/rtld.c
2982
6016 d 20 h
svoboda
/branches/dynload/uspace/
Link dltest with libc.so. Runs, but no console output.
/branches/dynload/uspace/Makefile
/branches/dynload/uspace/app/dltest/Makefile
/branches/dynload/uspace/app/dltest/dltest.c
/branches/dynload/uspace/app/iloader/include/pcb.h
/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-shared/Makefile
/branches/dynload/uspace/lib/rtld/arch/ia32/src/reloc.c
/branches/dynload/uspace/lib/rtld/dynamic.c
/branches/dynload/uspace/lib/rtld/rtld.c
2981
6016 d 21 h
svoboda
/branches/dynload/uspace/lib/rtld/
Let rtld analyze its own dynamic section. Search for symbols in all rtld, program, lib. Resolve references in library, too.
/branches/dynload/uspace/lib/rtld/arch/ia32/src/bootstrap.c
/branches/dynload/uspace/lib/rtld/include/rtld.h
/branches/dynload/uspace/lib/rtld/rtld.c
/branches/dynload/uspace/lib/rtld/symbol.c
2980
6016 d 21 h
svoboda
/branches/dynload/uspace/lib/rtld/
Fix handling of absent soname and rpath fields in .dynamic section. Slightly improve symbol search.
/branches/dynload/uspace/lib/rtld/arch/ia32/src/reloc.c
/branches/dynload/uspace/lib/rtld/dynamic.c
/branches/dynload/uspace/lib/rtld/include/arch.h
/branches/dynload/uspace/lib/rtld/include/elf_dyn.h
/branches/dynload/uspace/lib/rtld/include/rtld.h
/branches/dynload/uspace/lib/rtld/include/symbol.h
/branches/dynload/uspace/lib/rtld/rtld.c
/branches/dynload/uspace/lib/rtld/symbol.c
2978
6017 d 2 h
svoboda
/branches/dynload/uspace/
Trivially link unresolved references from dltest to libtest
/branches/dynload/uspace/lib/rtld/include/symbol.h
/branches/dynload/uspace/lib/rtld/symbol.c
/branches/dynload/uspace/app/dltest/dltest.c
/branches/dynload/uspace/lib/rtld/Makefile
/branches/dynload/uspace/lib/rtld/arch/ia32/src/reloc.c
/branches/dynload/uspace/lib/rtld/include/arch.h
/branches/dynload/uspace/lib/rtld/include/dynamic.h
/branches/dynload/uspace/lib/rtld/include/elf_dyn.h
/branches/dynload/uspace/lib/rtld/rtld.c
2973
6018 d 1 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
←Prev
1
2
Next→
Show All