On 3/20/11 4:14 AM, Pali Rohár wrote:
2011/2/19 Pali Rohárpali.rohar@gmail.com:
2011/2/4 Pali Rohárpali.rohar@gmail.com:
Hello,
I created patch which implement correct _start section in ELF shared libraries/binaries which generate winegcc. Into _start section this patch add calling execve syscall which start wine with all arguments. So it is not needed to generate shell wrapper and .exe.so binary.
This replace code on: http://wiki.winehq.org/Winelib_binaries_as_ELF_executables_not_.exe.so
$ winegcc app.c --> generate only a.exe (shared object ELF binary), no aditional a.exe.so $ ./a.exe --> start binary correctly without shell wrapper
-- Pali Rohár pali.rohar@gmail.com
I rewrited my patch. Now set up correctly enviromental variables too. Assembler code is only for x86.
-- Pali Rohár pali.rohar@gmail.com
Can anybody review my patch?
Reviews are sent to wine-development list.
If you want to submit a patch for comment only, please submit it to wine-development.
Thank you.
James McKenzie