From mboxrd@z Thu Jan 1 00:00:00 1970 From: Shinya Kuribayashi Date: Thu, 25 Dec 2008 23:39:36 +0900 Subject: [U-Boot] [RFC][PATCH] Code Clean-up (weak functions) In-Reply-To: <001101c96699$30076430$90162c90$@Tjernlund@transmode.se> References: <1229145986-9936-1-git-send-email-graeme.russ@gmail.com> <49518CF0.2040903@necel.com> <005501c965d1$a95ceee0$fc16cca0$@Tjernlund@transmode.se> <49526969.5000402@ruby.dti.ne.jp> <001101c96699$30076430$90162c90$@Tjernlund@transmode.se> Message-ID: <49539B28.4080207@ruby.dti.ne.jp> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Joakim Tjernlund wrote: > Checking for NULL before invocation won't work unless you fix the relocation > routine not to relocate NULL values. That is what I have been trying to say > several times now. That fix should be performed regardless so no nasty > surprises will happen in the future. Perhaps there are other cases besides > weak symbols too. > You can either fix the assembler routine in all start.S or make all relevant > boards use the C-versions I posted. > > Jocke Sorry, I'm confused. I'll wait and see how it goes... Shinya