]> git.ipfire.org Git - thirdparty/elfutils.git/commitdiff
+EBLHOOKVAR
authorJan Kratochvil <jan.kratochvil@redhat.com>
Mon, 12 Nov 2012 16:20:59 +0000 (17:20 +0100)
committerJan Kratochvil <jan.kratochvil@redhat.com>
Mon, 12 Nov 2012 16:20:59 +0000 (17:20 +0100)
/* Number of Dwarf_Frame_State->regs entries to allocate for frame_state
   above.  */
size_t EBLHOOKVAR(frame_state_nregs);

backends/libebl_CPU.h
libebl/libeblP.h

index 36b3a4a135b7027a1d048e7e619b63e8ebee368b..65a9a13766e06361aa9687b073df77c9c11b8b9e 100644 (file)
@@ -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
 
index c8196bd19669f783596d664e7f9a24873add67a2..773b6b8f8377407243681f5a162bedd92b5c5812 100644 (file)
@@ -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.  */