[U-Boot] [RFC][PATCH] Code Clean-up (weak functions)

Joakim Tjernlund Joakim.Tjernlund at transmode.se
Wed Dec 24 15:12:31 CET 2008


> 
> > - There is no purely weak functions and therfore no longer code like:
> >     if (do_something)
> >       do_somthing();
> >   All instances have been replaced by empty functions with an alias. e.g.
> >      void __do_something (args) {}
> >      do_something(args) __atttribute__((weak, alias("__do_something")));

Curious as to why you removed such code? Was it because it didn't work? If
so I might have an answer for that. See my post:
"Re: [U-Boot] [PATCH V4] cmd_bdinfo: move implementation to	arch	instead of common"

 Jocke



More information about the U-Boot mailing list