Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933689AbZFMQlm (ORCPT ); Sat, 13 Jun 2009 12:41:42 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S933587AbZFMQlR (ORCPT ); Sat, 13 Jun 2009 12:41:17 -0400 Received: from mail-yx0-f192.google.com ([209.85.210.192]:44062 "EHLO mail-yx0-f192.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933581AbZFMQlO convert rfc822-to-8bit (ORCPT ); Sat, 13 Jun 2009 12:41:14 -0400 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; b=ETR5uf7erYQJpUyv8k7SxVr/S4zHQBQWvp9pJYdVc3l0BodWunYKVV04qEbGIAmDwD WHB18MnYCgfKlA5jmv/ePY1NYg7unASeebcy3C7hGELwiUsmVHxeaMGx/UTyAqHkJhMB 5SaHFdyN+2sgebKhlfghSlf+/7Do8tW1ke8NE= MIME-Version: 1.0 In-Reply-To: <20090613161323.GC16220@shareable.org> References: <1244854869-2563-1-git-send-email-vapier@gentoo.org> <20090613161323.GC16220@shareable.org> From: Mike Frysinger Date: Sat, 13 Jun 2009 12:40:45 -0400 Message-ID: <8bd0f97a0906130940j6b5e578bha8193f59d03c2f05@mail.gmail.com> Subject: Re: [uClinux-dev] [PATCH/RFC] FDPIC: add hook for arches to customize program header parsing To: Jamie Lokier Cc: uClinux development list , linux-kernel@vger.kernel.org, Jie Zhang , Greg Ungerer , uclinux-dist-devel@blackfin.uclinux.org, David McCullough Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8BIT Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1294 Lines: 29 On Sat, Jun 13, 2009 at 12:13, Jamie Lokier wrote: > Mike Frysinger wrote: >> From: Jie Zhang >> >> The Blackfin port has custom program header flags/addresses for >> automatically loading regions into the dedicated on-chip SRAM.  So add a >> hook for ports to leverage. > > What does this have to do with FDPIC?  I don't see anything that is > specific to FDPIC about this code, other than FDPIC being the type of > ELF used on Blackfin.  If an MMU were added to some future Blackfins, > wouldn't this code be used for non-FDPIC ELF too? no, because with a MMU, the memory would be virtualized and we could handle it dynamically > It looks like a way for certain special executables to load themselves > into fixed regions of the on-chip SRAM - and promptly crash if another > executable does the same.  Not so much a general executable format, as > a hack to load something specific which should only be done once at a > time.  What am I missing here? the addresses are keys, not fixed and/or "real" addresses -mike -- 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/