From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kenneth Johansson Date: Thu, 24 Jul 2008 19:12:20 +0200 Subject: [U-Boot-Users] Changing u-boot relocation scheme In-Reply-To: <20080724185734.6d79c419@hskinnemo-gx745.norway.atmel.com> References: <20080724130105.3EE93248B9@gemini.denx.de> <1216905458.27201.38.camel@localhost.localdomain> <20080724185734.6d79c419@hskinnemo-gx745.norway.atmel.com> Message-ID: <1216919540.27201.56.camel@localhost.localdomain> 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, 2008-07-24 at 18:57 +0200, Haavard Skinnemoen wrote: > Kenneth Johansson wrote: > > you have to > > read the gcc code to understand what the -mrelocatable option really do. > > Plus it's only defined for PowerPC. What do we do on the 11 other > architectures? Well other architectures works in different ways and thus has other flags. > We could build u-boot as a shared library I guess, but that feels a bit > weird... What do you mean by that ? u-boot is already compiled with the -fPIC option.