aboutsummaryrefslogtreecommitdiffstats
path: root/xen/common/symbols-dummy.c
diff options
context:
space:
mode:
authorkfraser@localhost.localdomain <kfraser@localhost.localdomain>2006-09-28 13:44:24 +0100
committerkfraser@localhost.localdomain <kfraser@localhost.localdomain>2006-09-28 13:44:24 +0100
commitad47474431253ad7edc4609ed26e68e90ffe5bf4 (patch)
treec4888a11d25f2524dc62592d30e7892ce1bb6b07 /xen/common/symbols-dummy.c
parentf3212b0addbe6b53ba24f602c87428d988d0e3ed (diff)
downloadxen-ad47474431253ad7edc4609ed26e68e90ffe5bf4.tar.gz
xen-ad47474431253ad7edc4609ed26e68e90ffe5bf4.tar.bz2
xen-ad47474431253ad7edc4609ed26e68e90ffe5bf4.zip
[XEN] Remove weak-extern definitions from symbols.c.
Instead we have an explicit set of dummy symbol definitions for the inital link of the Xen image. Signed-off-by: Keir Fraser <keir@xensource.com>
Diffstat (limited to 'xen/common/symbols-dummy.c')
-rw-r--r--xen/common/symbols-dummy.c16
1 files changed, 16 insertions, 0 deletions
diff --git a/xen/common/symbols-dummy.c b/xen/common/symbols-dummy.c
new file mode 100644
index 0000000000..562264f4e7
--- /dev/null
+++ b/xen/common/symbols-dummy.c
@@ -0,0 +1,16 @@
+/*
+ * symbols-dummy.c: dummy symbol-table definitions for the inital partial
+ * link of the hypervisor image.
+ */
+
+#include <xen/config.h>
+#include <xen/types.h>
+
+unsigned long symbols_addresses[1];
+unsigned long symbols_num_syms;
+u8 symbols_names[1];
+
+u8 symbols_token_table[1];
+u16 symbols_token_index[1];
+
+unsigned long symbols_markers[1];