From: Wolfgang Denk Date: Tue, 18 Mar 2008 20:24:32 +0100 Subject: [U-Boot-Users] [MIPS] Introduce machine_restart In-Reply-To: Your message of "Tue, 18 Mar 2008 19:43:38 +0100." <20080318184338.GA8728@game.jcrosoft.org> Message-ID: <20080318192432.1039624349@gemini.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de In message <004701c88928$4f457bb0$edd07310$@Tjernlund@transmode.se> Joakim Tjernlund wrote: > > I don't think it is good to use global fun ptrs. These are not > available until > relocated to RAM. Agreed! In message <20080318184338.GA8728@game.jcrosoft.org> Jean-Christophe Plagniol-Villar wrote: > > If possible I will prefer a weak function ...which raises the interesting question if, and how, weak function pointers work before relocation. Has anyone ever tested / analyzed this? Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de If something is different, it's either better or worse, and usually both. - Larry Wall