[U-Boot] [PATCH 1/2 v6] Make libgcc inclusion from common Makefile overridable by platform config file

Scott Wood scottwood at freescale.com
Thu Jul 16 17:36:51 CEST 2009


Mike Frysinger wrote:
> i think calling raise/abort is already unreasonable for bare metal 
> applications.

So how do you propose that illegal divide operations be reported to the 
application?

What is so unreasonable about having a function to print a message and 
dump registers?

You could even make it a weak symbol that stays at NULL, so any attempt 
to call it will trap that way (assuming NULL pointers are trapped in 
U-Boot on that architecture...).

-Scott


More information about the U-Boot mailing list