mirror of
https://git.savannah.gnu.org/git/grub.git
synced 2026-10-25 08:39:28 +00:00
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:
1 parent
73b5d90fe2
commit
19ce697dfd
7 files changed
+18
-48
No files matched your search
@@ -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
|
||||
Reference in new issue
Block a user