Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752615Ab3JWOLs (ORCPT ); Wed, 23 Oct 2013 10:11:48 -0400 Received: from mail-ob0-f173.google.com ([209.85.214.173]:56267 "EHLO mail-ob0-f173.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751076Ab3JWOLq (ORCPT ); Wed, 23 Oct 2013 10:11:46 -0400 MIME-Version: 1.0 In-Reply-To: <1379421817-15759-1-git-send-email-Russ.Dill@ti.com> References: <1379421817-15759-1-git-send-email-Russ.Dill@ti.com> Date: Wed, 23 Oct 2013 16:11:46 +0200 Message-ID: Subject: Re: [RFC PATCH 00/11] Embeddable Position Independent Executable From: Linus Walleij To: Russ Dill Cc: "linux-kernel@vger.kernel.org" , "linux-arm-kernel@lists.infradead.org" , Linux-OMAP , linux-kbuild , Ard Biesheuvel , mans@mansr.com, Shawn Guo , Dave Martin , Russell King - ARM Linux Content-Type: text/plain; charset=ISO-8859-1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1127 Lines: 27 On Tue, Sep 17, 2013 at 2:43 PM, Russ Dill 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 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/