From mboxrd@z Thu Jan 1 00:00:00 1970 From: Joakim Tjernlund Date: Wed, 24 Dec 2008 15:12:31 +0100 Subject: [U-Boot] [RFC][PATCH] Code Clean-up (weak functions) In-Reply-To: <49518CF0.2040903@necel.com> References: <1229145986-9936-1-git-send-email-graeme.russ@gmail.com> <49518CF0.2040903@necel.com> Message-ID: <005501c965d1$a95ceee0$fc16cca0$@Tjernlund@transmode.se> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de > > > - 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