Standardised debug mechanism in place now.

This commit is contained in:
Michael Brown
2005-04-14 11:55:57 +00:00
parent e44e5c7247
commit 44c7cc8c12
10 changed files with 14 additions and 70 deletions

View File

@@ -42,13 +42,6 @@ extern char _end[];
extern struct post_reloc_fn post_reloc_fns[];
extern struct post_reloc_fn post_reloc_fns_end[];
#undef DBG
#ifdef DEBUG_RELOCATE
#define DBG(...) printf ( __VA_ARGS__ )
#else
#define DBG(...)
#endif
static void relocate ( void ) {
unsigned long addr, eaddr, size;
unsigned i;