From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1763236AbZFMQNb (ORCPT ); Sat, 13 Jun 2009 12:13:31 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1755055AbZFMQNY (ORCPT ); Sat, 13 Jun 2009 12:13:24 -0400 Received: from mail2.shareable.org ([80.68.89.115]:49546 "EHLO mail2.shareable.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753046AbZFMQNY (ORCPT ); Sat, 13 Jun 2009 12:13:24 -0400 Date: Sat, 13 Jun 2009 17:13:23 +0100 From: Jamie Lokier To: uClinux development list Cc: linux-kernel@vger.kernel.org, Jie Zhang , Greg Ungerer , uclinux-dist-devel@blackfin.uclinux.org, David McCullough Subject: Re: [uClinux-dev] [PATCH/RFC] FDPIC: add hook for arches to customize program header parsing Message-ID: <20090613161323.GC16220@shareable.org> References: <1244854869-2563-1-git-send-email-vapier@gentoo.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1244854869-2563-1-git-send-email-vapier@gentoo.org> User-Agent: Mutt/1.5.13 (2006-08-11) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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? 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? -- Jamie