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:
Vladimir 'phcoder' Serbinenko committed 2013-03-03 15:57:30 +01:00
1 parent 73b5d90fe2
commit 19ce697dfd
7 files changed
+18 -48

No files matched your search

-7
View File
@@ -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