diff options
author | Vladimir Zapolskiy <vz@mleia.com> | 2016-11-27 22:15:35 (GMT) |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2016-12-03 02:32:54 (GMT) |
commit | 76a55989b180d1d9ab273fde01e5b2a18413fadf (patch) | |
tree | 7d9e72899144a19d3cf2d1b94b9d1a7210adbecc /cmd/fuse.c | |
parent | 3500581ef3461c7cf5ca6fef7b45dd2dee0df28e (diff) | |
download | u-boot-76a55989b180d1d9ab273fde01e5b2a18413fadf.tar.xz |
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>
Diffstat (limited to 'cmd/fuse.c')
0 files changed, 0 insertions, 0 deletions