aboutsummaryrefslogtreecommitdiffstats
path: root/xen/common/symbols.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.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.c')
-rw-r--r--xen/common/symbols.c13
1 files changed, 6 insertions, 7 deletions
diff --git a/xen/common/symbols.c b/xen/common/symbols.c
index 84e04d973c..6bc3956a13 100644
--- a/xen/common/symbols.c
+++ b/xen/common/symbols.c
@@ -16,15 +16,14 @@
#include <xen/lib.h>
#include <xen/string.h>
-/* These will be re-linked against their real values during the second link stage */
-extern unsigned long symbols_addresses[] __attribute__((weak));
-extern unsigned long symbols_num_syms __attribute__((weak,section("data")));
-extern u8 symbols_names[] __attribute__((weak));
+extern unsigned long symbols_addresses[];
+extern unsigned long symbols_num_syms;
+extern u8 symbols_names[];
-extern u8 symbols_token_table[] __attribute__((weak));
-extern u16 symbols_token_index[] __attribute__((weak));
+extern u8 symbols_token_table[];
+extern u16 symbols_token_index[];
-extern unsigned long symbols_markers[] __attribute__((weak));
+extern unsigned long symbols_markers[];
/* expand a compressed symbol data into the resulting uncompressed string,
given the offset to where the symbol is in the compressed stream */