Added symbols that the DBG() macros will use.
authorMichael Brown <mcb30@etherboot.org>
Tue, 17 Jul 2007 00:24:04 +0000 (01:24 +0100)
committerMichael Brown <mcb30@etherboot.org>
Tue, 17 Jul 2007 00:24:04 +0000 (01:24 +0100)
src/util/symcheck.pl

index 6e46ae4..e0099c4 100755 (executable)
@@ -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
 #