[RFC PATCH 00/11] Embeddable Position Independent Executable

Linus Walleij linus.walleij at linaro.org
Wed Oct 23 10:11:46 EDT 2013


On Tue, Sep 17, 2013 at 2:43 PM, Russ Dill <Russ.Dill at ti.com> wrote:

> This patch adds support for and demonstrates the usage of an embedded
> position independent executable (PIE). The goal is to allow the use of C
> code in situations where carefully written position independent assembly
> was previously required.

This is perfectly applicable to the ARM TCM memory as well.

Currently we have arch/arm/kernel/tcm.c and related extensions to
kernel/vmlinux.kds.S, which enables us to tag some certain code
to be compiled into TCM memory which we map statically to
0xfffe0000 thru 0xfffeffff, but this is a better approach, especially
nice since it is the solution to the multiplatform situation, as we
need to select to copy code into that memory only on the specific
target.

I'll try to have a deeper look at this, please keep me on CC for
this series.

Yours,
Linus Walleij



More information about the linux-arm-kernel mailing list