Hi,
dlls/ntdll/exception.c is showing strange behaviour.
If compiled with -O2 it shows different behaviour than when compiled with -O2 -fno-unit-at-a-time.
The latter options should only be responsible for reordering functions.
Is reordering of function order a problem with the DEFINE_REGS_ENTRYPOINT() functions in this file?
I see the original function being moved from after the above asm stub to below the asm stub for instance, but the relay32.s looks like it doesnt matter.
Ciao, Marcus