2008-09-19 Christian Franke <franke@computer.org>

* aclocal.m4 (grub_CHECK_ENABLE_EXECUTE_STACK): New function.
	* configure.ac: Call grub_CHECK_ENABLE_EXECUTE_STACK.
	* include/grub/misc.h [NEED_ENABLE_EXECUTE_STACK]:
	Export __enable_execute_stack() to modules.
	* kern/misc.c [NEED_ENABLE_EXECUTE_STACK] (__enable_execute_stack):
	New function.
This commit is contained in:
chrfranke committed 2008-09-19 06:55:20 +00:00
1 parent 040030b3f2
commit 9035dce47f
7 files changed
+96

No files matched your search

+3
View File
@@ -79,6 +79,9 @@
/* Define to 1 if you enable memory manager debugging. */
#undef MM_DEBUG
/* Define to 1 if GCC generates calls to __enable_execute_stack() */
#undef NEED_ENABLE_EXECUTE_STACK
/* Catch gcc bug */
#undef NESTED_FUNC_ATTR