From: vb Date: Thu, 24 Jul 2008 06:50:09 -0700 Subject: [U-Boot-Users] Changing u-boot relocation scheme In-Reply-To: <1216903679.27201.25.camel@localhost.localdomain> References: <20080724031826.ECD9B248B9@gemini.denx.de> <1216903679.27201.25.camel@localhost.localdomain> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Thu, Jul 24, 2008 at 5:47 AM, Kenneth Johansson wrote: > > What is missing right now is that to properly fix function pointers > stored in data section we have to compile with -mrelocatable flag to get > gcc to create a fixup table so we later at runtime can just go over that > table and correct all function pointers. > Interesting, this is exactly what I am talking about, but done by the compiler, let me check this out. Thanks for the tip! cheers, /vb