u-boot/arch/sh/cpu
Vladimir Zapolskiy 76a55989b1 sh: generate position independent code for all platforms
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@mleia.com>
2016-12-02 21:32:54 -05:00
..
sh2 sh: share the correct version of start.S among all cpus 2016-12-02 21:32:53 -05:00
sh3 sh: share the correct version of start.S among all cpus 2016-12-02 21:32:53 -05:00
sh4 sh: share the correct version of start.S among all cpus 2016-12-02 21:32:53 -05:00
u-boot.lds sh: generate position independent code for all platforms 2016-12-02 21:32:54 -05:00