* kern/misc.c: Disable the __enable_execute_stack hack for utilities.
* include/grub/misc.h: Likewise.
This commit is contained in:
parent
b9396631bc
commit
187bbe3d9c
3 changed files with 7 additions and 2 deletions
|
@ -1058,7 +1058,7 @@ grub_abort (void)
|
|||
void abort (void) __attribute__ ((alias ("grub_abort")));
|
||||
#endif
|
||||
|
||||
#ifdef NEED_ENABLE_EXECUTE_STACK
|
||||
#if defined(NEED_ENABLE_EXECUTE_STACK) && !defined(GRUB_UTIL)
|
||||
/* Some gcc versions generate a call to this function
|
||||
in trampolines for nested functions. */
|
||||
void __enable_execute_stack (void *addr __attribute__ ((unused)))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue