diff options
author | kfraser@localhost.localdomain <kfraser@localhost.localdomain> | 2006-09-28 13:44:24 +0100 |
---|---|---|
committer | kfraser@localhost.localdomain <kfraser@localhost.localdomain> | 2006-09-28 13:44:24 +0100 |
commit | ad47474431253ad7edc4609ed26e68e90ffe5bf4 (patch) | |
tree | c4888a11d25f2524dc62592d30e7892ce1bb6b07 /xen/common/symbols.c | |
parent | f3212b0addbe6b53ba24f602c87428d988d0e3ed (diff) | |
download | xen-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.c | 13 |
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 */ |