[U-Boot] [U-Boot, RESEND, 23/24] sh: generate position independent code for all platforms
Tom Rini
trini at konsulko.com
Sun Dec 4 01:43:59 CET 2016
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 <vz at mleia.com>
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: <http://lists.denx.de/pipermail/u-boot/attachments/20161203/f5283aac/attachment.sig>
More information about the U-Boot
mailing list