0. stub: optimize 1. libc: maybe exec* should load&reloc ELF then jump to "main"? 2. libc: optimize for _farnspoke/_farnspeek 3. libc: solve __gmon_start__ <-> _crt0_init_mcount conflict 4. libc: _mcount has a [_start - etext] bounds check 5. stubelf: stubinfo_offs is in bytes (maybe switch to paragraphs) 6. build: make libc.so/libstdcxx.so really PIC-safe (req more testing) 7. build: create libemu.so libdbg.so 8. set LD_LIBRARY_PATH in DJGPP.ENV (maybe use /djgpp/elf as fallback in dos.S) 9. we have libcool.so which needs libc.so and we link our executable with libc statically, then dlopen libcool.so ==> SIGSEGV ??? check this: -nostdlib (no crt*, no lib*) will link, but program cannot be run as-is -nostartfiles (no crt*) will link, but program cannot be run as-is -nodefaultlibs (no lib*) ok