The __enable_execute_stack code introduced for the target "mingw32" in r134089 doesn't work for kernel-mode components. These components can link to libgcc, but never link to kernel32. It would be good if there was a way to turn off this code, for example by a -f/-fno compiler flag.
-- Summary: __enable_execute_stack introduced for mingw32 in r134089 doesn't work for kernel-mode components Product: gcc Version: 4.5.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: colin at reactos dot org GCC target triplet: mingw32 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41799