• Vladimir Zapolskiy's avatar
    sh: generate position independent code for all platforms · 76a55989
    Vladimir Zapolskiy authored
    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: 's avatarVladimir Zapolskiy <vz@mleia.com>
    76a55989
Name
Last commit
Last update
..
cpu Loading commit data...
include/asm Loading commit data...
lib Loading commit data...
Kconfig Loading commit data...
Makefile Loading commit data...
config.mk Loading commit data...