On Fri, Oct 21, 2011 at 18:20, Wolfgang Denk wrote: > Simon Glass wrote: >> +void __assert_fail(const char *assertion, const char *file, unsigned line, >> + const char *function) >> +{ >> + /* This will not return */ >> + panic("%s:%u: %s: Assertion `%s' failed.", file, line, function, >> + assertion); >> +} > > Can you please #ifdef it so it doesn't get added for the non-debug > case, too?
most arches are building with --gc-sections now which means there is no overhead added for them. should we look at fixing the few holdouts rather than adding #ifdefs ? -mike _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot