* kern/misc.c: Disable the __enable_execute_stack hack for utilities.

* include/grub/misc.h: Likewise.
This commit is contained in:
Grégoire Sutre 2010-04-03 21:00:21 +02:00 committed by Vladimir 'phcoder' Serbinenko
parent b9396631bc
commit 187bbe3d9c
3 changed files with 7 additions and 2 deletions

View file

@ -261,7 +261,7 @@ grub_size_t EXPORT_FUNC(grub_utf8_to_ucs4) (grub_uint32_t *dest,
grub_uint64_t EXPORT_FUNC(grub_divmod64) (grub_uint64_t n,
grub_uint32_t d, grub_uint32_t *r);
#ifdef NEED_ENABLE_EXECUTE_STACK
#if defined(NEED_ENABLE_EXECUTE_STACK) && !defined(GRUB_UTIL)
void EXPORT_FUNC(__enable_execute_stack) (void *addr);
#endif