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
|
@ -11,7 +11,6 @@
|
|||
|
||||
#if defined (GRUB_UTIL) || !defined (GRUB_MACHINE)
|
||||
#include <config-util.h>
|
||||
#define NESTED_FUNC_ATTR
|
||||
#else
|
||||
/* Define if C symbols get an underscore after compilation. */
|
||||
#define HAVE_ASM_USCORE @HAVE_ASM_USCORE@
|
||||
|
@ -49,10 +48,4 @@
|
|||
|
||||
#define RE_ENABLE_I18N 1
|
||||
|
||||
#if defined(__i386__)
|
||||
#define NESTED_FUNC_ATTR __attribute__ ((__regparm__ (1)))
|
||||
#else
|
||||
#define NESTED_FUNC_ATTR
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue