http://bugs.winehq.org/show_bug.cgi?id=16666
Tijl Coosemans tijl@ulyssis.org changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |tijl@ulyssis.org
--- Comment #2 from Tijl Coosemans tijl@ulyssis.org 2009-01-03 15:02:25 --- Removing the --section-start flag is probably not correct. It's there to make sure the wine executable is loaded where it doesn't interfere with the Windows program.
On FreeBSD there used to be a crash when Wine failed to allocate user_shared_data at 0x7ffe0000 and tried to initialise it (dlls/ntdll/thread.c:thread_init()), so you might want to check if that address is available. On FreeBSD loader/freebsd.c was needed to assure that.
Also, if you can't turn off the randomised mmap somehow, you'll have to port loader/preloader.c I'm afraid.