aboutsummaryrefslogtreecommitdiff
path: root/src/util/symcheck.pl
diff options
context:
space:
mode:
authorMichael Brown <mcb30@etherboot.org>2007-07-17 01:24:04 +0100
committerMichael Brown <mcb30@etherboot.org>2007-07-17 01:24:04 +0100
commit62d92348fec5dcb987573d82f7cb514bd1141705 (patch)
tree55c96b151ddba20212fb20f97eb924b60d96d502 /src/util/symcheck.pl
parentf44969f7df1b61c34fde47250a0d27e7ab58803d (diff)
downloadipxe-62d92348fec5dcb987573d82f7cb514bd1141705.zip
ipxe-62d92348fec5dcb987573d82f7cb514bd1141705.tar.gz
ipxe-62d92348fec5dcb987573d82f7cb514bd1141705.tar.bz2
Added symbols that the DBG() macros will use.
Diffstat (limited to 'src/util/symcheck.pl')
-rwxr-xr-xsrc/util/symcheck.pl12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/util/symcheck.pl b/src/util/symcheck.pl
index 6e46ae4..e0099c4 100755
--- a/src/util/symcheck.pl
+++ b/src/util/symcheck.pl
@@ -70,6 +70,18 @@ foreach my $link_sym qw ( __prefix _prefix _prefix_load_offset
};
}
+# Add symbols that we know will be used by the debug system
+#
+foreach my $debug_sym qw ( dbg_autocolourise dbg_decolourise
+ dbg_hex_dump_da ) {
+ $symtab->{DEBUG}->{$debug_sym} = {
+ global => 1,
+ section => undef,
+ value => 0,
+ size => 0,
+ };
+}
+
# Build up requires, provides and shares symbol tables for global
# symbols
#