Home
last modified time | relevance | path

Searched hist:"76 a55989" (Results 1 – 2 of 2) sorted by relevance

/openbmc/u-boot/arch/sh/cpu/
H A Du-boot.lds76a55989 Sun Nov 27 16:15:35 CST 2016 Vladimir Zapolskiy <vz@mleia.com> 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>
/openbmc/u-boot/arch/sh/
H A Dconfig.mk76a55989 Sun Nov 27 16:15:35 CST 2016 Vladimir Zapolskiy <vz@mleia.com> 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>