]> git.ipfire.org Git - thirdparty/ipxe.git/commitdiff
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 6e46ae462d1c28b8a33d281362cba00373d6f86d..e0099c4199bcc52a71fe73c12734342db9524fdf 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
 #