Remove all trampoline support. Add -Wtrampolines when
present. Remove symbols used for trampolines to make link fail if trampolines are present.
This commit is contained in:
parent
73b5d90fe2
commit
19ce697dfd
7 changed files with 18 additions and 48 deletions
|
@ -1120,14 +1120,6 @@ grub_abort (void)
|
|||
void abort (void) __attribute__ ((alias ("grub_abort")));
|
||||
#endif
|
||||
|
||||
#if NEED_ENABLE_EXECUTE_STACK && !defined(GRUB_UTIL) && !defined(GRUB_MACHINE_EMU)
|
||||
/* Some gcc versions generate a call to this function
|
||||
in trampolines for nested functions. */
|
||||
void __enable_execute_stack (void *addr __attribute__ ((unused)))
|
||||
{
|
||||
}
|
||||
#endif
|
||||
|
||||
#if NEED_REGISTER_FRAME_INFO && !defined(GRUB_UTIL)
|
||||
void __register_frame_info (void)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue