summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJan Kratochvil <jan.kratochvil@redhat.com>2012-11-12 17:20:59 +0100
committerJan Kratochvil <jan.kratochvil@redhat.com>2012-11-12 17:20:59 +0100
commitcc4dbad0c15b673ef5f2362cbe6f08cc4f28a1cd (patch)
treea3d4be69e7698afa245e10a4f6ff270ed7c389f7
parent56aa56abd2410b89f116b7fdcdf7e7653be42d55 (diff)
+EBLHOOKVAR
/* Number of Dwarf_Frame_State->regs entries to allocate for frame_state above. */ size_t EBLHOOKVAR(frame_state_nregs);
-rw-r--r--backends/libebl_CPU.h1
-rw-r--r--libebl/libeblP.h2
2 files changed, 3 insertions, 0 deletions
diff --git a/backends/libebl_CPU.h b/backends/libebl_CPU.h
index 36b3a4a1..65a9a137 100644
--- a/backends/libebl_CPU.h
+++ b/backends/libebl_CPU.h
@@ -32,6 +32,7 @@
#include <libeblP.h>
#define EBLHOOK(name) EBLHOOK_1(BACKEND, name)
+#define EBLHOOKVAR EBLHOOK
#define EBLHOOK_1(a, b) EBLHOOK_2(a, b)
#define EBLHOOK_2(a, b) a##b
diff --git a/libebl/libeblP.h b/libebl/libeblP.h
index c8196bd1..773b6b8f 100644
--- a/libebl/libeblP.h
+++ b/libebl/libeblP.h
@@ -54,7 +54,9 @@ struct ebl
/* See ebl-hooks.h for the declarations of the hook functions. */
# define EBLHOOK(name) (*name)
+# define EBLHOOKVAR(name) (name)
# include "ebl-hooks.h"
+# undef EBLHOOKVAR
# undef EBLHOOK
/* Size of entry in Sysv-style hash table. */