lkml.org 
[lkml]   [2009]   [Jun]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [uClinux-dev] [PATCH/RFC] FDPIC: add hook for arches to customize program header parsing
Mike Frysinger wrote:
> From: Jie Zhang <jie.zhang@analog.com>
>
> 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


\
 
 \ /
  Last update: 2009-06-13 18:15    [W:0.194 / U:5.288 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site