From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tom Rini Date: Sat, 3 Dec 2016 19:43:59 -0500 Subject: [U-Boot] [U-Boot, RESEND, 23/24] sh: generate position independent code for all platforms In-Reply-To: <20161127221536.9577-24-vz@mleia.com> References: <20161127221536.9577-24-vz@mleia.com> Message-ID: <20161204004359.GZ4248@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Mon, Nov 28, 2016 at 12:15:35AM +0200, Vladimir Zapolskiy wrote: > Finally add fpic compilation option to produce relocatable code. > Note that this requires to define CONFIG_NEEDS_MANUAL_RELOC for all > board files, also relocation support still has some limitations > (e.g. a developer should care not to overwrite the executing code or > memset() with zeroes not yet relocated data on malloc init etc.), > which may be fixed while switching to PIE. > > Due to short investigation the architecture code is not ready for PIE > linking, this will require some manipulations with .dyn* sections. > > Signed-off-by: Vladimir Zapolskiy Applied to u-boot/master, thanks! -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: Digital signature URL: