[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: (not) simplifying dpkg-shlibdeps with readelf



Hi,

On Thu, Apr 29, 2010 at 11:24:35AM +0200, Hector Oron wrote:

> > I see no reason why embedded platforms can't use ELF.  ELF is very common
> > in the embedded world even entirely apart from Linux.

There is some effort to move from bFLT to something called "FDPIC ELF",
which is basically ELF with runtime relocation of binaries and
libraries, and an ABI extension that allows per-process instantiation of
writeable segments. The difficulty there is that this format is severely
underdocumented, and no C library supports it out of the box in their
dynamic linker.

I think in the long run everything will be ELF.

> Sometimes ELF is not best for XIP (eXecute In Place) and other formats
> do better. I wonder if Debian will be able to cope with those
> sometime.

XIP is a subset of the "per-process instantiation" problem.

> What about mingw32 targets? (I have not worked with)
> Some people build Debian packages for such target.

The current objdump based implementation is already dependent on ELF, as
only ELF uses the string "NEEDED".

   Simon


Reply to: